yapp.mk: Add file

This commit is contained in:
Jan Lindemann 2006-07-02 15:26:16 +00:00 committed by Jan Lindemann
commit ced5f3b2aa

17
make/yapp.mk Normal file
View 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 $<))" > $@