removed bob module, so resunpack.bob can be called from anywhere
[awish.git] / Jamrules
blob1da7b39f382df29c0cbe9dce7552f5939077ecb2
1 if ! $(THIS_IS_K8JAM) {
2   Exit "You need k8jam to build Awish! Download it here: http://repo.or.cz/w/k8jam.git" ;
4 set-profile ;
5 set-target-locations ;
7 HDRS += $(TOP)/src ;
10 if $(WITH_TITLE) { DEFINES += WITH_TITLE ; }
13 if ! $(WINDOZE) {
14   pkg-config "sdl" ;
15   pkg-config "SDL_ttf" ;
16   LINKLIBS.all += -lz -lm ;
17 } else {
18   HDRS += $(TOP)/windoze/include/SDL ;
19   #LINKFLAGS.all += -L$(TOP)/windoze/libs ;
20   #WINDOZE_THREADS = ;
21   WINSUBSYS = "windows" ;
22   #WINLIBS += -lkernel32 ;
23   windoze-fix ;
27 rule SDLMain {
28   local n ;
30   for n in $(<) {
31     #echo "$(n:S)" ;
32     Main "$(<)$(SUFEXE)" : $(>) ;
33     #LinkLibraries "$(<)$(SUFEXE)" : libcruel.a $(LIBFLARE_A) ;
34     if $(WINDOZE) {
35       LinkSharedLibraries "$(<)$(SUFEXE)" :
36         $(TOP)/windoze/libs/SDL.dll
37       ;
38     }
39   }
43 actions AGitPush {
44   git push
45   git push cz