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