summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile6
-rw-r--r--arg.c10
3 files changed, 1 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 7bc8d7c..0d48c20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
*~
-arg
batterymon
chardiff
chardiff_pre
diff --git a/Makefile b/Makefile
index c64a96d..a6cde25 100644
--- a/Makefile
+++ b/Makefile
@@ -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) > $@
diff --git a/arg.c b/arg.c
deleted file mode 100644
index 0a57cec..0000000
--- a/arg.c
+++ /dev/null
@@ -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;
-}