]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: First step to make my makefile better for other dev.env's These changes makes...
authoriceman1001 <iceman@iuse.se>
Thu, 18 Feb 2016 17:43:20 +0000 (18:43 +0100)
committericeman1001 <iceman@iuse.se>
Thu, 18 Feb 2016 17:43:20 +0000 (18:43 +0100)
client/Makefile

index 56ae7de8a96961913ba9135198e39dc7beaff179..154828a9ed63bb85f1a0b435c1a4bfab5eb0c95a 100644 (file)
@@ -11,13 +11,15 @@ CXX = g++
 VPATH = ../common ../zlib
 OBJDIR = obj
 
-LDLIBS =  -L/mingw/lib -L/opt/local/lib -L/usr/local/lib -lm -lreadline -lpthread -lgdi32
+LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm
 LUALIB = ../liblua/liblua.a
 LDFLAGS = $(COMMON_FLAGS)
-CFLAGS = -std=c99 -I. -I../include -I../common -I../zlib -I/mingw/include -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O3
+CFLAGS = -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O3
 LUAPLATFORM = generic
 
-ifneq (,$(findstring MINGW,$(platform)))
+ifneq (,$(findstring MINGW,$(platform))) 
+    LDLIBS +=  -L/mingw/lib -lgdi32
+       CFLAGS +=  -I/mingw/include
     CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
     MOC = $(QTDIR)/bin/moc
     LUAPLATFORM = mingw
Impressum, Datenschutz