summaryrefslogtreecommitdiff
path: root/bcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/Makefile')
-rw-r--r--bcc/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/bcc/Makefile b/bcc/Makefile
index 512c013..8812c38 100644
--- a/bcc/Makefile
+++ b/bcc/Makefile
@@ -25,16 +25,16 @@ install: all
install -m 755 bcc-cc1 $(LIBDIR)/bcc-cc1
bcc: bcc.c
- $(CC) -ansi $(CFLAGS) $(BCCDEFS) $(LDFLAGS) bcc.c -o $@
+ $(CC) $(ANSI) $(CFLAGS) $(BCCDEFS) $(LDFLAGS) bcc.c -o $@
ncc: bcc.c
- $(CC) -ansi $(CFLAGS) -DL_TREE -DDEFARCH=0 $(LDFLAGS) bcc.c -o $@
+ $(CC) $(ANSI) $(CFLAGS) -DL_TREE -DDEFARCH=0 $(LDFLAGS) bcc.c -o $@
bcc09: bcc.c
- $(CC) -ansi $(CFLAGS) -DMC6809 $(BCCDEFS) $(LDFLAGS) bcc.c -o $@
+ $(CC) $(ANSI) $(CFLAGS) -DMC6809 $(BCCDEFS) $(LDFLAGS) bcc.c -o $@
ccc: bcc.c
- $(CC) -ansi $(CFLAGS) -DCCC $(BCCDEFS) $(LDFLAGS) bcc.c -o $@
+ $(CC) $(ANSI) $(CFLAGS) -DCCC $(BCCDEFS) $(LDFLAGS) bcc.c -o $@
bcc-cc1: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o bcc-cc1
@@ -43,5 +43,8 @@ clean realclean:
rm -f bcc bcc-cc1 ncc bcc09 ccc bcc.o $(OBJS)
-$(OBJS): align.h byteord.h condcode.h const.h gencode.h input.h label.h os.h \
- output.h parse.h proto.h reg.h sc.h scan.h sizes.h table.h type.h types.h
+$(OBJS): bcc.h align.h const.h types.h \
+ byteord.h condcode.h gencode.h \
+ input.h label.h os.h output.h \
+ parse.h proto.h reg.h sc.h scan.h \
+ sizes.h table.h type.h