]> git.scottworley.com Git - tl-append/blobdiff - Makefile
test: Use expectations for verifying output
[tl-append] / Makefile
index 8209ef88fd7ab6220b6b7182cd06bd3641a9456f..f5e15487194cf4c4006a5077a217ebe13f71aa40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ INSTALL = install
 tl-append:
 
 %: %.c
-       $(CC) -Wall -Wextra -pedantic -o $@ $^
+       $(CC) -Wall -Wextra -pedantic -std=c99 -o $@ $^
 
 .PHONY: check
 check: tl-append tl-append-test
@@ -15,3 +15,7 @@ check: tl-append tl-append-test
 install: tl-append
        $(INSTALL) -d $(DESTDIR)$(bindir)
        $(INSTALL) -m 755 $^ $(DESTDIR)$(bindir)
+
+.PHONY: clean
+clean:
+       -rm tl-append tl-append-test tl.log