]> git.zerfleddert.de Git - proxmark3-svn/blame - winsrc/Makefile
#defines for ADC channels so we can see what's what
[proxmark3-svn] / winsrc / Makefile
CommitLineData
6658905f 1BASE_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
2BASE_CFLAGS = /W3 /nologo\r
3\r
e6b13a57 4LIB=..\..\devkitWIN\lib;%LIB%\r
5\r
6658905f 6DEFINES = $(BASE_DEFS)\r
e6b13a57 7CFLAGS = $(BASE_CFLAGS) /I..\..\devkitWIN/include /Zi /MT\r
6658905f 8\r
9OBJDIR = obj\r
10\r
11OBJS = $(OBJDIR)\prox.obj \\r
12 $(OBJDIR)\gui.obj \\r
13 $(OBJDIR)\command.obj\r
14\r
15LIBS = kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib setupapi.lib\r
16\r
17HEADERS = prox.h\r
18\r
19all: $(OBJDIR)/prox.exe\r
20 copy $(OBJDIR)\prox.exe .\r
21\r
22clean:\r
23 del /q obj\*.obj\r
24 del /q obj\*.ilk\r
25 del /q obj\*.exe\r
26 del /q obj\*.pdb\r
27 del /q *.pdb\r
28\r
29$(OBJDIR)/prox.exe: $(OBJS)\r
30 $(CC) $(DEFINES) $(CFLAGS) -Fe$(OBJDIR)/prox.exe $(OBJS) $(LIBS)\r
31\r
32$(OBJS): $(@B).cpp $(HEADERS)\r
33 $(CC) $(CFLAGS) $(DEFINES) -c -Fo$(OBJDIR)/$(@B).obj $(@B).cpp\r
Impressum, Datenschutz