diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | arg.c | 10 |
3 files changed, 1 insertions, 16 deletions
@@ -1,5 +1,4 @@ *~ -arg batterymon chardiff chardiff_pre @@ -5,7 +5,6 @@ INSTALL = install RM = rm -f BINFILES = \ - arg \ batterymon \ chardiff \ chardiff_pre \ @@ -47,8 +46,5 @@ clean: cat $< >$@ chmod a+x $@ -# Note that this rule would be way simpler if I could count on 'arg' -# already being installed ("arg '*~' $(BINFILES) > $@") .gitignore: Makefile - echo '*~' > $@ - for file in $(BINFILES); do echo "$$file"; done >> $@ + printf '%s\n' '*~' $(BINFILES) > $@ @@ -1,10 +0,0 @@ -#include <stdio.h> - -int -main(int argc, char* argv[]) { - int i; - for (i=1; i<argc; i++) { - puts(argv[i]); - } - return 0; -} |