diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2019-01-15 19:42:45 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2019-01-15 19:42:45 -0500 |
| commit | a8ca001a8f811403bccffed03243954f5a52b27b (patch) | |
| tree | 03c6ac85145afd4b2fd1079dd29a3a1ad0b74974 /Makefile | |
| parent | 195c332a2314305392ee2a09272e3fbd4f1b134a (diff) | |
| download | libctemplates-a8ca001a8f811403bccffed03243954f5a52b27b.tar.gz libctemplates-a8ca001a8f811403bccffed03243954f5a52b27b.tar.bz2 libctemplates-a8ca001a8f811403bccffed03243954f5a52b27b.zip | |
Spelling corrections
Corrected a bunch of spelling mistakes in the readme and the Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |
