12 lines
146 B
Makefile
12 lines
146 B
Makefile
|
|
||
|
TARGETS=$(shell find -name '*.lt' | sed -E 's~\.lt~\.o~')
|
||
|
|
||
|
all: $(TARGETS)
|
||
|
|
||
|
%.o: %.lt
|
||
|
ltcc $< -o target/$@
|
||
|
|
||
|
clean:
|
||
|
cd target && rm $(TARGETS)
|
||
|
|