lt-core/lt-stdlib/makefile

12 lines
146 B
Makefile
Raw Normal View History

2024-12-24 12:51:36 +01:00
TARGETS=$(shell find -name '*.lt' | sed -E 's~\.lt~\.o~')
all: $(TARGETS)
%.o: %.lt
ltcc $< -o target/$@
clean:
cd target && rm $(TARGETS)