]> git.saurik.com Git - wxWidgets.git/blame - utils/Install/sfxace/makefile.b32
Test case for MSW display corruption in 2.3.3
[wxWidgets.git] / utils / Install / sfxace / makefile.b32
CommitLineData
f6bcfd97
BP
1#
2# File: makefile.b32
3# Author: Julian Smart
4# Created: 1999
5# Updated:
6# Copyright:
7#
8# Makefile : Builds sample for 32-bit BC++
9
10WXDIR = $(WXWIN)
11
12EXTRACPPFLAGS = /I"..\incace" /I".."
13TARGET=sfx
14OBJECTS = wxmain.obj instsup.obj install.obj globals.obj uac_comm.obj uac_crc.obj uac_crt.obj uac_dcpr.obj uac_sys.obj unace.obj
15
16WXDIR = $(WXWIN)
17!include $(WXDIR)\src\makeb32.env
18
19LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib jpeg xpm tiff odbc32
20
21# Note: you may need to remove some libraries for earlier versions of BC++, as below
22#LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib xpm tiff
23
24!if "$(FINAL)" == "0"
25#LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
26LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
27OPT = -Od
28DEBUG_FLAGS= -v
29!else
30#LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
31LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
32OPT = -O2
33DEBUG_FLAGS =
34!endif
35
36CPPFLAGS=$(DEBUG_FLAGS) $(EXTRACPPFLAGS) $(OPT) @$(CFG)
37
38all: $(TARGET).exe $(EXTRATARGETS)
39
40$(TARGET).exe: $(OBJECTS) $(TARGET).res
41 $(LINK) $(LINKFLAGS) @&&!
42c0w32.obj $(OBJECTS)
43$(TARGET)
44nul
45$(LIBS)
46
47$(TARGET).res
48!
49
50.$(SRCSUFF).obj:
51 bcc32 $(CPPFLAGS) -c {$< }
52
53install.obj: ..\install.c
54 bcc32 $(CPPFLAGS) -P- -c ..\install.c
55
56wxmain.obj: ..\wxmain.cpp
57 bcc32 $(CPPFLAGS) -P- -c ..\wxmain.cpp
58
59instsup.obj: ..\instsup.cpp
60 bcc32 $(CPPFLAGS) -P- -c ..\instsup.cpp
61
62.c.obj:
63 bcc32 $(CPPFLAGS) -P- -c {$< }
64
65$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
66 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)
67
68clean:
69 -erase *.obj
70 -erase *.exe
71 -erase *.res
72 -erase *.map
73 -erase *.rws
74 -erase *.tds
75 -erase *.il?
76