]> cvs.zerfleddert.de Git - proxmark3-svn/blame - winsrc/Makefile
Create a stamp file for download completion so that it won't have to be redone later
[proxmark3-svn] / winsrc / Makefile
CommitLineData
a8120704 1CC=cl\r
6658905f 2BASE_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
a8120704 3BASE_CFLAGS = /W3 /nologo /Zi /MT /Fdobj/vc90.pdb\r
e6b13a57 4LIB=..\..\devkitWIN\lib;%LIB%\r
5\r
6658905f 6DEFINES = $(BASE_DEFS)\r
a8120704 7INCLUDES = /I..\..\devkitWIN/include\r
8CFLAGS = $(BASE_CFLAGS) $(INCLUDES)\r
6658905f 9\r
10OBJDIR = obj\r
11\r
12OBJS = $(OBJDIR)\prox.obj \\r
13 $(OBJDIR)\gui.obj \\r
14 $(OBJDIR)\command.obj\r
15\r
a8120704 16LIBS = user32.lib gdi32.lib setupapi.lib\r
6658905f 17\r
a8120704 18all: proxmark3\r
db335b3d 19\r
a8120704 20proxmark3:\r
21 $(CC) $(CFLAGS) $(DEFINES) -c -Foobj/prox.obj prox.cpp\r
22 $(CC) $(CFLAGS) $(DEFINES) -c -Foobj/gui.obj gui.cpp\r
23 $(CC) $(CFLAGS) $(DEFINES) -c -Foobj/command.obj command.cpp\r
24 $(CC) $(CFLAGS) $(DEFINES) -Fe$(OBJDIR)/prox.exe $(OBJS) $(LIBS)\r
25 copy obj\prox.exe .\r
6658905f 26\r
27clean:\r
28 del /q obj\*.obj\r
29 del /q obj\*.ilk\r
30 del /q obj\*.exe\r
31 del /q obj\*.pdb\r
a8120704 32 del prox.exe
Impressum, Datenschutz