]> cvs.zerfleddert.de Git - proxmark3-svn/blame - winsrc/Makefile
Amontec JTAGKey config
[proxmark3-svn] / winsrc / Makefile
CommitLineData
a8120704 1CC=cl\r
d3ae0de7 2BASE_DIR ?= "..\..\devkitWIN"\r
6658905f 3BASE_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 4BASE_CFLAGS = /W3 /nologo /Zi /MT /Fdobj/vc90.pdb\r
d3ae0de7 5LIB = $(BASE_DIR)\lib\r
e6b13a57 6\r
6658905f 7DEFINES = $(BASE_DEFS)\r
d3ae0de7 8INCLUDES = /I$(BASE_DIR)\include\r
a8120704 9CFLAGS = $(BASE_CFLAGS) $(INCLUDES)\r
6658905f 10\r
11OBJDIR = obj\r
12\r
13OBJS = $(OBJDIR)\prox.obj \\r
14 $(OBJDIR)\gui.obj \\r
15 $(OBJDIR)\command.obj\r
16\r
d3ae0de7 17LIBS = $(LIB)\user32.lib $(LIB)\gdi32.lib $(LIB)\setupapi.lib $(LIB)\libcmt.lib $(LIB)\oldnames.lib $(LIB)\kernel32.lib\r
6658905f 18\r
a8120704 19all: proxmark3\r
db335b3d 20\r
a8120704 21proxmark3:\r
22 $(CC) $(CFLAGS) $(DEFINES) -c -Foobj/prox.obj prox.cpp\r
23 $(CC) $(CFLAGS) $(DEFINES) -c -Foobj/gui.obj gui.cpp\r
24 $(CC) $(CFLAGS) $(DEFINES) -c -Foobj/command.obj command.cpp\r
25 $(CC) $(CFLAGS) $(DEFINES) -Fe$(OBJDIR)/prox.exe $(OBJS) $(LIBS)\r
26 copy obj\prox.exe .\r
6658905f 27\r
28clean:\r
29 del /q obj\*.obj\r
30 del /q obj\*.ilk\r
31 del /q obj\*.exe\r
32 del /q obj\*.pdb\r
a8120704 33 del prox.exe
Impressum, Datenschutz