8 # Makefile : Builds sample for 32-bit BC++
12 EXTRACPPFLAGS = /I"..\incace" /I".."
14 OBJECTS = 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
17 !include $(WXDIR)\src\makeb32.env
19 LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib jpeg xpm tiff odbc32
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
25 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
26 LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
30 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
31 LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
36 CPPFLAGS=$(DEBUG_FLAGS) $(EXTRACPPFLAGS) $(OPT) @$(CFG)
38 all: $(TARGET).exe $(EXTRATARGETS)
40 $(TARGET).exe: $(OBJECTS) $(TARGET).res
41 $(LINK) $(LINKFLAGS) @&&!
51 bcc32 $(CPPFLAGS) -c {$< }
53 install.obj: ..\install.c
54 bcc32 $(CPPFLAGS) -P- -c ..\install.c
56 wxmain.obj: ..\wxmain.cpp
57 bcc32 $(CPPFLAGS) -P- -c ..\wxmain.cpp
59 instsup.obj: ..\instsup.cpp
60 bcc32 $(CPPFLAGS) -P- -c ..\instsup.cpp
63 bcc32 $(CPPFLAGS) -P- -c {$< }
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)