14 lines
303 B
Makefile
14 lines
303 B
Makefile
build:
|
|
tlang src/wrappergen.tlang src/data.txt dest
|
|
|
|
build-tlang-external:
|
|
tlang src/wrappergen.tlang src/data.txt dest --external
|
|
sdl:
|
|
tlang src/wrappergen.tlang src/sdl.txt wrappers --omit
|
|
PHONY: install
|
|
install: sdl
|
|
cp wrappers/sdl.c ../libtlang/src/sdl2.c ; true
|
|
|
|
PHONY: clean
|
|
clean:
|
|
rm -r dest
|