]>
Commit | Line | Data |
---|---|---|
6658905f | 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 | |
e6b13a57 | 4 | LIB=..\..\devkitWIN\lib;%LIB%\r |
5 | \r | |
6658905f | 6 | DEFINES = $(BASE_DEFS)\r |
e6b13a57 | 7 | CFLAGS = $(BASE_CFLAGS) /I..\..\devkitWIN/include /Zi /MT\r |
6658905f | 8 | \r |
9 | OBJDIR = obj\r | |
10 | \r | |
11 | OBJS = $(OBJDIR)\prox.obj \\r | |
12 | $(OBJDIR)\gui.obj \\r | |
13 | $(OBJDIR)\command.obj\r | |
14 | \r | |
15 | 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 | |
16 | \r | |
17 | HEADERS = prox.h\r | |
18 | \r | |
19 | all: $(OBJDIR)/prox.exe\r | |
20 | copy $(OBJDIR)\prox.exe .\r | |
21 | \r | |
22 | clean:\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 |