added a targets file to describe general targets
authorPatrik Gornicz <Gornicz.P@gmail.com>
Mon, 8 Jun 2009 03:28:01 +0000 (23:28 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Mon, 8 Jun 2009 03:31:29 +0000 (23:31 -0400)
Makefile
targets.mk [new file with mode: 0644]

index 777d976..d648676 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,10 @@ BUILD    := DEBUG
 .PHONY: all
 all:
 
-.PHONY: tests
-tests:
+# Include the variables that describe targets
+include targets.mk
+
+all: ${LIB}
 
 
 DIRMK   := dir.mk
diff --git a/targets.mk b/targets.mk
new file mode 100644 (file)
index 0000000..72b77c6
--- /dev/null
@@ -0,0 +1,15 @@
+
+# LIB: the target of the lib directory
+LIB := lib
+.PHONY: ${LIB}
+
+#LIB_OBJS := lib-objs
+#.PHONY: ${LIB_OBJS}
+
+#LIB_DEPS := lib-deps
+#.PHONY: ${LIB_DEPS}
+
+# TESTS: build all of the tests
+TESTS := tests
+.PHONY: ${TESTS}
+