summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkfile19
1 files changed, 8 insertions, 11 deletions
diff --git a/mkfile b/mkfile
index 7f3901b..6ffd467 100644
--- a/mkfile
+++ b/mkfile
@@ -1,18 +1,15 @@
+CC = cc
+
<config.mk
-bins=sfeed sfeed_html sfeed_frames sfeed_plain sfeed_stats sfeed_web \
+TARG = sfeed sfeed_html sfeed_frames sfeed_plain sfeed_stats sfeed_web \
sfeed_xmlenc sfeed_opml_import
-build:Q: $bins
+all: $TARG
-clean:Q:
- rm -f *.o
- rm -f core a.out
- rm -f $bins
-
-install: build
- echo "TODO"
+clean:
+ rm -f *.o core a.out $TARG
sfeed: xml.o
sfeed_opml_import: xml.o
@@ -20,7 +17,7 @@ sfeed_web: xml.o
sfeed_xmlenc: xml.o
&: &.o util.o
- cc $prereq -o $target
+ $CC $prereq -o $target
&.o: &.c
- cc $CFLAGS -c $stem.c
+ $CC $CFLAGS -c $stem.c