]>
Commit | Line | Data |
---|---|---|
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\r | |
2 | BASE_CFLAGS = /W3 /nologo\r | |
3 | \r | |
4 | DEFINES = $(BASE_DEFS)\r | |
5 | CFLAGS = $(BASE_CFLAGS) /Zi /MT\r | |
6 | \r | |
7 | OBJDIR = obj\r | |
8 | \r | |
9 | OBJS = $(OBJDIR)\prox.obj \\r | |
10 | $(OBJDIR)\gui.obj \\r | |
11 | $(OBJDIR)\command.obj\r | |
12 | \r | |
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\r | |
14 | \r | |
15 | HEADERS = prox.h\r | |
16 | \r | |
17 | all: $(OBJDIR)/prox.exe\r | |
18 | copy $(OBJDIR)\prox.exe .\r | |
19 | \r | |
20 | clean:\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 |