2007-08-18 20:33:08 +00:00
|
|
|
LOCAL_CPP += main.cpp
|
|
|
|
|
YAPP_CLASS ?= $(firstword $(basename $(wildcard YApp*.h Y*.h *.h)))
|
|
|
|
|
YAPP_CLASS_H = $(firstword $(wildcard $(addsuffix /$(YAPP_CLASS).h,\
|
|
|
|
|
$(subst -I,,$(INCLUDE)))) $(YAPP_CLASS).h)
|
|
|
|
|
LOCAL_CFLAGS += -DVERSION_STR=\"$(VERSION)\"
|
|
|
|
|
LOCAL_CPPFLAGS += -DVERSION_STR=\"$(VERSION)\"
|
|
|
|
|
LOCAL_LDFLAGS += -rdynamic
|
|
|
|
|
|
|
|
|
|
include $(MODDIR)/make/exe.mk
|
2006-07-02 15:26:16 +00:00
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
install:
|
|
|
|
|
clean: clean.yapp
|
|
|
|
|
distclean:
|
|
|
|
|
|
|
|
|
|
clean.yapp:
|
|
|
|
|
rm -f main.cpp
|
|
|
|
|
|
2007-01-20 17:50:14 +00:00
|
|
|
main.cpp: $(YAPP_CLASS_H)
|
|
|
|
|
echo -e "#include <YAppRunner.h>\n#include \"$<\"\nyapp_main($(YAPP_CLASS))" > $@
|
|
|
|
|
|