6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds wxToolbar sample
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
17 !include $(WXDIR)\src\makemsc.env
19 BBARDIR = $(WXDIR)\samples\toolbar
21 INC = /I$(WXDIR)\include\base /I$(WXDIR)\include\msw
29 # Default is to output RTF for WinHelp
34 # Set this to nothing if using MS C++ 7
38 CPPFLAGS=/AL /Gt8 /W3 /Zi $(ZOPTION) /G2sw /Od /YuWX_PREC.H $(INC) /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
39 CFLAGS=/AL /Gt8 /W3 /Zi $(ZOPTION) /G2sw /Od $(INC) /Dwx_msw
40 LINKFLAGS=/NOD /CO /SEG:512 /ONERROR:NOEXE
42 CPPFLAGS=/AL /Gt8 /W3 /G2sw /Os /YuWX_PREC.H $(INC) /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
43 CFLAGS=/AL /Gt8 /W3 /Zi $(ZOPTION) /G2sw /Od $(INC) /Dwx_msw
44 LINKFLAGS=/NOD /SEG:512 /ONERROR:NOEXE
53 nmake -f makefile.dos FINAL=$(FINAL)
58 nmake -f makefile.dos clean
61 test.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) test.obj test.def test.res
63 $(WXDIR)\src\msw\dummy.obj test.obj,
72 test.obj: test.h test.$(SRCSUFF)
74 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
77 test.res : test.rc $(WXDIR)\include\msw\wx.rc
78 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw test