From a8ca001a8f811403bccffed03243954f5a52b27b Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 15 Jan 2019 19:42:45 -0500 Subject: Spelling corrections Corrected a bunch of spelling mistakes in the readme and the Makefile --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 38e220e..3738077 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ objfiles = $(objs:%=build/%.o) TEST_1_NAME = t/test_1$(BIN_POSTFIX) +TEST_2_NAME = t/test_2$(BIN_POSTFIX) $(LIBNAME): $(objfiles) ar rc $@ $^ @@ -26,10 +27,14 @@ clean: $(RM) build/*.o *.a $(LIBNAME) $(TEST_1_NAME): t/test_1.c $(LIBNAME) - $(CC) $(CFLAGS) -o $(TEST_1_NAME) t/test_1.c -lctemplates + $(CC) $(CFLAGS) -o $@ $< -lctemplates -test: $(TEST_1_NAME) - $(TEST_1_NAME) +$(TEST_2_NAME): t/test_2.c $(LIBNAME) + $(CC) $(CFLAGS) -o $@ $< -lctemplates + +test: $(TEST_1_NAME) $(TEST_2_NAME) + #$(TEST_1_NAME) + $(TEST_2_NAME) install: $(LIBNAME) cp $(LIBNAME) /usr/local/lib -- cgit v1.2.3-70-g09d2