mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
yapp.mk: Add file
This commit is contained in:
parent
083e627092
commit
ced5f3b2aa
1 changed files with 17 additions and 0 deletions
17
make/yapp.mk
Normal file
17
make/yapp.mk
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
LOCAL_CPP += main.cpp
|
||||||
|
YAPP_CLASS ?= YApplication
|
||||||
|
|
||||||
|
all:
|
||||||
|
install:
|
||||||
|
clean: clean.yapp
|
||||||
|
distclean:
|
||||||
|
|
||||||
|
include $(MODDIR)/make/exe.mk
|
||||||
|
|
||||||
|
clean.yapp:
|
||||||
|
rm -f main.cpp
|
||||||
|
|
||||||
|
main.cpp: $(YAPP_CLASS).h
|
||||||
|
echo -e "#include <YAppRunner.h>\n#include <$<>\nyapp_main($(basename $<))" > $@
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue