]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - winsrc/Makefile
New flash tool, needs to be ported to Windows.
[proxmark3-svn] / winsrc / Makefile
index b398c2c1958c82837d0773c47e434fffd7fd7963..71dce86617da169bacff273c971cc313e6a01fcd 100644 (file)
@@ -1,8 +1,10 @@
 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\r
 \r
+LIB=..\..\devkitWIN\lib;%LIB%\r
+\r
 DEFINES  = $(BASE_DEFS)\r
-CFLAGS   = $(BASE_CFLAGS) /Zi /MT\r
+CFLAGS   = $(BASE_CFLAGS) /I..\..\devkitWIN/include /Zi /MT\r
 \r
 OBJDIR = obj\r
 \r
@@ -14,7 +16,9 @@ LIBS   = kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.li
 \r
 HEADERS = prox.h\r
 \r
-all: $(OBJDIR)/prox.exe\r
+all: prox.exe\r
+\r
+prox.exe: $(OBJDIR)/prox.exe\r
     copy $(OBJDIR)\prox.exe .\r
 \r
 clean:\r
Impressum, Datenschutz