1 if ! $(THIS_IS_K8JAM) {
2 Exit "You need k8jam to build Awish! Download it here: http://repo.or.cz/w/k8jam.git" ;
10 if $(WITH_TITLE) { DEFINES += WITH_TITLE ; }
11 if $(NOSOUND) || $(NO_SOUND) {
12 DEFINES += AWISH_NO_SOUND ;
22 pkg-config "SDL_mixer" ;
24 #pkg-config "SDL_ttf" ;
25 #LINKLIBS.all += -lz -lm ;
27 HDRS += $(TOP)/windoze/include/SDL ;
28 #LINKFLAGS.all += -L$(TOP)/windoze/libs ;
30 WINSUBSYS = "windows" ;
31 #WINLIBS += -lkernel32 ;
41 Main "$(<)$(SUFEXE)" : $(>) ;
42 #LinkLibraries "$(<)$(SUFEXE)" : libcruel.a $(LIBFLARE_A) ;
44 if ! $(NOSOUND) { WINDOZE_SDL_MIXER = $(TOP)/windoze/libs/SDL_mixer.dll ; } else { WINDOZE_SDL_MIXER = ; }
45 LinkSharedLibraries "$(<)$(SUFEXE)" :
46 $(TOP)/windoze/libs/SDL.dll
54 actions quietly AShowHelp {
55 echo "usage: jam [target] [flags]"
57 echo " jam -- build project"
58 echo " jam all -- build project"
59 echo " jam clean -- do cleanup"
60 echo " jam help -- show this help"
61 echo " jam -a NOSOUND=1 -- disable sound"
62 echo " jam -a WITH_TITLE=1 -- enable title screen in debug mode"
66 if ([ FileExists $(TOP)/Jamrules.push ]) {
67 include $(TOP)/Jamrules.push ;