11 lines
146 B
Makefile
11 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)
|
|
|