]> git.zerfleddert.de Git - proxmark3-svn/blob - winsrc/Makefile
update arm toolchain installer for linux and make it a little more user friendly
[proxmark3-svn] / winsrc / Makefile
1 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
2 BASE_CFLAGS = /W3 /nologo
3
4 DEFINES = $(BASE_DEFS)
5 CFLAGS = $(BASE_CFLAGS) /Zi /MT
6
7 OBJDIR = obj
8
9 OBJS = $(OBJDIR)\prox.obj \
10 $(OBJDIR)\gui.obj \
11 $(OBJDIR)\command.obj
12
13 LIBS = 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
14
15 HEADERS = prox.h
16
17 all: $(OBJDIR)/prox.exe
18 copy $(OBJDIR)\prox.exe .
19
20 clean:
21 del /q obj\*.obj
22 del /q obj\*.ilk
23 del /q obj\*.exe
24 del /q obj\*.pdb
25 del /q *.pdb
26
27 $(OBJDIR)/prox.exe: $(OBJS)
28 $(CC) $(DEFINES) $(CFLAGS) -Fe$(OBJDIR)/prox.exe $(OBJS) $(LIBS)
29
30 $(OBJS): $(@B).cpp $(HEADERS)
31 $(CC) $(CFLAGS) $(DEFINES) -c -Fo$(OBJDIR)/$(@B).obj $(@B).cpp
Impressum, Datenschutz