summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-10-05 21:26:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-10-05 21:26:09 -0700
commite39dea5833abe29b7f6b9ba5d55f93b553a7cded (patch)
tree5e87f46369e075e8a47c8a5b97958e6cf934db63 /Makefile
parente022ebd1f2b414837b60f434e6db26e2c999207a (diff)
downloadhc-e39dea5833abe29b7f6b9ba5d55f93b553a7cded.tar.gz
hc-e39dea5833abe29b7f6b9ba5d55f93b553a7cded.tar.bz2
hc-e39dea5833abe29b7f6b9ba5d55f93b553a7cded.zip
Attribute filtering implemented.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9a1cda8..f9e1cc5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,15 @@
CFLAGS := -g -Wall -W -ansi -D_XOPEN_SOURCE=500 $(EXTRA_CFLAGS)
+.SUFFIXES:
+
hc: lex.yy.o hc.o
- $(CC) $(CFLAGS) $(OUR_CFLAGS) $^ -o $@ -lfl
+ $(CC) $(CFLAGS) $^ -o $@ -lfl
lex.yy.o: lex.yy.c hc.h
+ $(CC) $(CFLAGS) $< -c
hc.o: hc.c hc.h wl.h
+ $(CC) $(CFLAGS) $< -c
lex.yy.c: hc.l hc.h
$(LEX) -i -8 hc.l
@@ -14,4 +18,4 @@ wl.h: wl.txr wl
txr wl.txr > $@
clean:
- -rm hc lex.yy.o lex.yy.c
+ -rm hc hc.o lex.yy.o lex.yy.c