allow extern array declarations without size
[neatcc.git] / Makefile
blob6cc1095d3c887d12c406d3b22e54bed61449a88e
1 CC = cc
2 CFLAGS = -Wall -Os -g
3 LDFLAGS = -g
5 all: ncc
6 .c.o:
7 $(CC) -c $(CFLAGS) $<
8 ncc: ncc.o tok.o gen.o out.o cpp.o tab.o
9 $(CC) $(LDFLAGS) -o $@ $^
11 clean:
12 rm -f cc *.o