]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - winsrc/Makefile
Small changes to some armsrc makefile to allow conditional compilation of various...
[proxmark3-svn] / winsrc / Makefile
index 96466700fa6ab54f978a67de000500f432b920c8..1c8287f871cb3916e62b870e39fa5d2291680079 100644 (file)
@@ -1,10 +1,11 @@
 CC=cl\r
+BASE_DIR    ?= "..\..\devkitWIN"\r
 BASE_DEFS   = /D_WIN32_WINNT=0x501 /DISOLATION_AWARE_ENABLED /D_WIN32_IE=0x600 /DWIN32_LEAN_AND_MEAN /DWIN32 /D_MT /D_CRT_SECURE_NO_WARNINGS\r
 BASE_CFLAGS = /W3 /nologo /Zi /MT /Fdobj/vc90.pdb\r
-LIB=..\..\devkitWIN\lib;%LIB%\r
+LIB         = $(BASE_DIR)\lib\r
 \r
 DEFINES  = $(BASE_DEFS)\r
-INCLUDES = /I..\..\devkitWIN/include\r
+INCLUDES = /I$(BASE_DIR)\include\r
 CFLAGS   = $(BASE_CFLAGS) $(INCLUDES)\r
 \r
 OBJDIR = obj\r
@@ -13,7 +14,7 @@ OBJS   = $(OBJDIR)\prox.obj \
          $(OBJDIR)\gui.obj \\r
          $(OBJDIR)\command.obj\r
 \r
-LIBS   = user32.lib gdi32.lib setupapi.lib\r
+LIBS   = $(LIB)\user32.lib $(LIB)\gdi32.lib $(LIB)\setupapi.lib $(LIB)\libcmt.lib $(LIB)\oldnames.lib $(LIB)\kernel32.lib\r
 \r
 all: proxmark3\r
 \r
Impressum, Datenschutz