C compiler with embedded metalanguage.
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
CFLAGS = -I/opt/local/include -std=gnu99 -Wall -Wno-unused-label -Wno-unused-function -g
|
|
LDLIBS = -L/opt/local/lib -lgc -lm
|
|
|
|
MAIN = ccmeta
|
|
|
|
all : $(MAIN)
|
|
|
|
$(MAIN) : $(MAIN).c object.c buffer.h
|
|
$(CC) $(CFLAGS) -o $@ $@.c $(LDLIBS)
|
|
|
|
.SUFFIXES: .leg .c
|
|
|
|
.leg.c :
|
|
leg $< > $@.new
|
|
mv $@.new $@
|
|
|
|
tidy : .FORCE
|
|
rm -f *~
|
|
|
|
clean : .FORCE
|
|
rm -f $(MAIN) $(MAIN).c
|
|
|
|
spotless : clean tidy
|
|
|
|
.FORCE :
|