aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bbe43f5..e8375b1 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ objfiles = $(objs:%=build/%.o)
TEST_1_NAME = t/test_1$(BIN_POSTFIX)
TEST_2_NAME = t/test_2$(BIN_POSTFIX)
+TEST_3_NAME = t/test_3$(BIN_POSTFIX)
examples=hello variable
example_bins=$(examples:%=examples/%$(BIN_POSTFIX))
@@ -36,9 +37,13 @@ $(TEST_1_NAME): t/test_1.c $(LIBNAME)
$(TEST_2_NAME): t/test_2.c $(LIBNAME)
$(CC) $(CFLAGS) -o $@ $< -lctemplates
-test: $(TEST_1_NAME) $(TEST_2_NAME)
+$(TEST_3_NAME): t/test_3.c $(LIBNAME)
+ $(CC) $(CFLAGS) -o $@ $< -lctemplates
+
+test: $(TEST_1_NAME) $(TEST_2_NAME) $(TEST_3_NAME)
#$(TEST_1_NAME)
- $(TEST_2_NAME)
+ #$(TEST_2_NAME)
+ $(TEST_3_NAME)
examples: $(example_bins)
$(example_bins)