Adjusted Makefile and Makefile.mingw to allow compilation on both a
[neverball] / Makefile.mingw
1 include Makefile
2
3 OGL_LIBS := -lm -lopengl32
4 PNG_LIBS := $(shell libpng-config --libs)
5 BASE_LIBS := -lSDL -lSDL_image -lintl
6
7 LIBS := $(SDL_LIBS) -lSDL_image -lSDL_mixer -lSDL_ttf \
8         $(OGL_LIBS) $(PNG_LIBS) -lintl
9
10 cross:
11         $(MAKE) -f Makefile.mingw EXT=.exe MAPC_EXEC="wine mapc.exe"