neatcc top-level makefile
[neatcc_make.git] / neatrun / Makefile
blob581fad1270d4c349603656d7d0d1ce4b5aa6d863
1 NCC = "/path/to/neatcc/ncc"
2 NLD = "/path/to/neatld/nld"
3 NLC = "/path/to/neatlibc/"
5 CC = cc
6 CFLAGS = -DNCC=\"$(NCC)\" -DNLD=\"$(NLD)\" -DNLC=\"$(NLC)\"
7 LDFLAGS =
9 all: neatcc
11 %.o: %.c
12 $(CC) $(CFLAGS) -c $^
13 neatcc: neatcc.o
14 $(CC) -o $@ neatcc.o $(LDFLAGS)
15 clean:
16 rm -f *.o neatcc