]> git.zerfleddert.de Git - proxmark3-svn/blame - winsrc/Makefile
Initial commit for the firmware. Used the 20090306_ela version as baseline.
[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
4DEFINES = $(BASE_DEFS)\r
5CFLAGS = $(BASE_CFLAGS) /Zi /MT\r
6\r
7OBJDIR = obj\r
8\r
9OBJS = $(OBJDIR)\prox.obj \\r
10 $(OBJDIR)\gui.obj \\r
11 $(OBJDIR)\command.obj\r
12\r
13LIBS = 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
14\r
15HEADERS = prox.h\r
16\r
17all: $(OBJDIR)/prox.exe\r
18 copy $(OBJDIR)\prox.exe .\r
19\r
20clean:\r
21 del /q obj\*.obj\r
22 del /q obj\*.ilk\r
23 del /q obj\*.exe\r
24 del /q obj\*.pdb\r
25 del /q *.pdb\r
26\r
27$(OBJDIR)/prox.exe: $(OBJS)\r
28 $(CC) $(DEFINES) $(CFLAGS) -Fe$(OBJDIR)/prox.exe $(OBJS) $(LIBS)\r
29\r
30$(OBJS): $(@B).cpp $(HEADERS)\r
31 $(CC) $(CFLAGS) $(DEFINES) -c -Fo$(OBJDIR)/$(@B).obj $(@B).cpp\r
Impressum, Datenschutz