From 318de304cccaa8cc417065fbe92c2624c999e265 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Sun, 7 Jun 2009 23:28:01 -0400 Subject: [PATCH] added a targets file to describe general targets --- Makefile | 6 ++++-- targets.mk | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 targets.mk diff --git a/Makefile b/Makefile index 777d976..d648676 100644 --- 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 index 0000000..72b77c6 --- /dev/null +++ b/targets.mk @@ -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} + -- 2.10.2