gen: replace TMP_REG* macros with reg_fortmp()
[neatcc.git] / Makefile
blob4ec6a993bd30b87e445c9c6d81f6f4da7c85ca4c
1 CC = cc
2 CFLAGS = -Wall -Os
3 LDFLAGS =
5 all: ncc npp
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 $@ $^
10 npp: npp.o cpp.o tab.o
11 $(CC) $(LDFLAGS) -o $@ $^
13 clean:
14 rm -f cc *.o