소스 검색

Add example Makefile

Oz N Tiram 9 년 전
부모
커밋
5bb961a672
1개의 변경된 파일22개의 추가작업 그리고 0개의 파일을 삭제
  1. 22 0
      docs/Makefile

+ 22 - 0
docs/Makefile

@@ -0,0 +1,22 @@
+###
+#
+# This is a simple make file demonstrating how to make complex build 
+# dependencies, letting make handle those for you.
+#
+###
+
+bla:
+	echo "bla" && exit 1;
+
+# This target will never succeed because it depends on bla, which always fails
+foo: bla
+	echo "foo"
+
+okydoky:
+	echo "okyliydokilydoo" && exit 0;
+
+fine: okydoky 
+	echo "I'm fine"
+
+
+.PHONY: bla foo okydoky