]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - winsrc/Makefile
Make objcopy call less verbose
[proxmark3-svn] / winsrc / Makefile
... / ...
CommitLineData
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
4LIB=..\..\devkitWIN\lib;%LIB%\r
5\r
6DEFINES = $(BASE_DEFS)\r
7CFLAGS = $(BASE_CFLAGS) /I..\..\devkitWIN/include /Zi /MT\r
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: prox.exe\r
20\r
21prox.exe: $(OBJDIR)/prox.exe\r
22 copy $(OBJDIR)\prox.exe .\r
23\r
24clean:\r
25 del /q obj\*.obj\r
26 del /q obj\*.ilk\r
27 del /q obj\*.exe\r
28 del /q obj\*.pdb\r
29 del /q *.pdb\r
30\r
31$(OBJDIR)/prox.exe: $(OBJS)\r
32 $(CC) $(DEFINES) $(CFLAGS) -Fe$(OBJDIR)/prox.exe $(OBJS) $(LIBS)\r
33\r
34$(OBJS): $(@B).cpp $(HEADERS)\r
35 $(CC) $(CFLAGS) $(DEFINES) -c -Fo$(OBJDIR)/$(@B).obj $(@B).cpp\r
Impressum, Datenschutz