]>
Commit | Line | Data |
---|---|---|
a8120704 | 1 | CC=cl\r |
d3ae0de7 | 2 | BASE_DIR ?= "..\..\devkitWIN"\r |
6658905f | 3 | 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 |
a8120704 | 4 | BASE_CFLAGS = /W3 /nologo /Zi /MT /Fdobj/vc90.pdb\r |
d3ae0de7 | 5 | LIB = $(BASE_DIR)\lib\r |
e6b13a57 | 6 | \r |
6658905f | 7 | DEFINES = $(BASE_DEFS)\r |
d3ae0de7 | 8 | INCLUDES = /I$(BASE_DIR)\include\r |
a8120704 | 9 | CFLAGS = $(BASE_CFLAGS) $(INCLUDES)\r |
6658905f | 10 | \r |
11 | OBJDIR = obj\r | |
12 | \r | |
13 | OBJS = $(OBJDIR)\prox.obj \\r | |
14 | $(OBJDIR)\gui.obj \\r | |
15 | $(OBJDIR)\command.obj\r | |
16 | \r | |
d3ae0de7 | 17 | LIBS = $(LIB)\user32.lib $(LIB)\gdi32.lib $(LIB)\setupapi.lib $(LIB)\libcmt.lib $(LIB)\oldnames.lib $(LIB)\kernel32.lib\r |
6658905f | 18 | \r |
a8120704 | 19 | all: proxmark3\r |
db335b3d | 20 | \r |
a8120704 | 21 | proxmark3:\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 |
28 | clean:\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 |