* Slightly improved Makefile.
authorUrban Wallasch <urban.wallasch@freenet.de>
Sun, 17 Nov 2019 17:43:02 +0000 (18:43 +0100)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sun, 17 Nov 2019 17:43:02 +0000 (18:43 +0100)
Makefile

index 5a4d5915f50c11cde15b493cb9855d6d2782a50b..21b3233983ece7c4fae2067e62317c5a99557e91 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ riffx: riffx.c
        strip riffx
 
 unriffle: unriffle.c
-       $(CC) $(CFLAGS) -o unriffle unriffle.c
+       $(CC) -std=c99 -Wpedantic $(CFLAGS) -o unriffle unriffle.c
        strip unriffle
 
 ww2ogg/ww2ogg:
@@ -22,5 +22,5 @@ revorb-nix/revorb: revorb-nix/revorb.cpp
 
 clean:
        rm -f *.o riffx unriffle
+       rm revorb-nix/revorb 2>/dev/null ||:
        cd ww2ogg && $(MAKE) clean
-       cd revorb-nix && rm revorb 2>/dev/null ||: