source: trunk/tools/install/makefile@ 3669

Last change on this file since 3669 was 3459, checked in by sandervl, 26 years ago

added warpin installation script & app + wrc bugfix

File size: 1.0 KB
Line 
1#
2# PD-Win32 API
3#
4#
5
6PDWIN32_INCLUDE = ..\..\include
7PDWIN32_LIB = ..\..\lib
8PDWIN32_BIN = ..\..\bin
9
10!include $(PDWIN32_INCLUDE)/pdwin32.mk
11
12PROJ = odininst
13
14all: $(PROJ).exe
15
16# Define project specific macros
17PROJ_OBJS = odininst.obj
18
19
20CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__
21CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__
22
23CFLAGS = $(CFLAGS) /Ge+ -I$(PDWIN32_INCLUDE)
24CXXFLAGS = $(CXXFLAGS) /Ge+ -I$(PDWIN32_INCLUDE)
25LDFLAGSEXE = $(LDFLAGS) /Ge+ /B"/pmtype:pm /stack:0x30000 /NOBASE /Map" \
26 $(EXTRA_LIBS) $(PDWIN32_LIB)\kernel32.lib $(PDWIN32_LIB)\user32.lib \
27 $(PDWIN32_LIB)\gdi32.lib os2386.lib $(PDWIN32_LIB)\odincrt.lib $(RTLLIB_O)
28
29# Build rule for EXE
30$(PROJ).exe: $(PROJ_OBJS)
31 $(LD) $(LDFLAGSEXE) -Fe$@ $(PROJ_OBJS)
32 copy $(PROJ).exe ..\bin
33
34# Rules for cleaning out those old files
35clean:
36 del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc
Note: See TracBrowser for help on using the repository browser.