Fix building on MSYS2

This commit is contained in:
2015-12-15 07:19:28 +01:00
committed by Valeriano A.R
parent 1e1c4328ba
commit 0f40c5be8e
10 changed files with 114 additions and 92 deletions

View File

@@ -3,13 +3,14 @@ AR = ar
LAUNCHER =
RM = rm -rf
MKDIR = mkdir
ECHO = echo
LIBS= -lSDL -lpthread -L/usr/X11R6/lib -L/usr/lib -lm -lGL -lX11
CFLAGS= -Wall -g -I/usr/include/ -I/usr/include/SDL/ -I/usr/X11R6/include/
LDFLAGS=
LIBS = -lSDL -lpthread -L/usr/X11R6/lib -L/usr/lib -lm -lGL -lX11
CFLAGS = -Wall -g -I/usr/include/ -I/usr/include/SDL/ -I/usr/X11R6/include/
LDFLAGS =
RES_GAMELIB=libgame.a
RES_GAME=game
BUILDDIR=build-linux
RES_GAMELIB = libgame.a
RES_GAME = game
BUILDDIR = build-$(shell gcc -v 2>&1 | grep "Target:" | cut --delimiter=' ' --fields=2)
include Makefile.common