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) { DEFINES += AWISH_NO_SOUND ; NOSOUND = tan ; } else { NOSOUND = ; }
17 pkg-config "SDL_mixer" ;
19 #pkg-config "SDL_ttf" ;
20 #LINKLIBS.all += -lz -lm ;
22 HDRS += $(TOP)/windoze/include/SDL ;
23 #LINKFLAGS.all += -L$(TOP)/windoze/libs ;
25 WINSUBSYS = "windows" ;
26 #WINLIBS += -lkernel32 ;
36 Main "$(<)$(SUFEXE)" : $(>) ;
37 #LinkLibraries "$(<)$(SUFEXE)" : libcruel.a $(LIBFLARE_A) ;
39 LinkSharedLibraries "$(<)$(SUFEXE)" :
40 $(TOP)/windoze/libs/SDL.dll
47 actions quietly AShowHelp {
48 echo "usage: jam [target] [flags]"
50 echo " jam -- build project"
51 echo " jam all -- build project"
52 echo " jam clean -- do cleanup"
53 echo " jam help -- show this help"
54 echo " jam -a NOSOUND=1 -- disable sound"
55 echo " jam -a WITH_TITLE=1 -- enable title screen in debug mode"