6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds minimal example (DOS).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
16 !include $(WXDIR)\src\makemsc.env
18 THISDIR = $(WXDIR)\samples\minimal
19 WXLIB = $(WXDIR)\lib\wx.lib
20 LIBS=$(WXLIB) oldnames libw llibcew commdlg shell ddeml
26 INC=/I$(WXDIR)\include\msw /I$(WXDIR)\include\base
28 # Set this to nothing if using MS C++ 7
32 CPPFLAGS=/AL /W3 /Zi $(ZOPTION) /G2sw /Od /YuWX_PREC.H /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch $(INC)
33 LINKFLAGS=/NOD /CO /ONERROR:NOEXE /SEG:512
35 CPPFLAGS=/AL /W3 /G2sw /Ox /YuWX_PREC.H /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch $(INC)
36 LINKFLAGS=/NOD /ONERROR:NOEXE /SEG:512
40 SOURCES = minimal.$(SRCSUFF)
47 nmake -f makefile.dos FINAL=$(FINAL)
52 nmake -f makefile.dos clean
56 minimal.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) minimal.obj minimal.def minimal.res
58 minimal.obj $(WXDIR)\src\msw\dummy.obj,
67 minimal.obj: minimal.$(SRCSUFF)
69 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72 minimal.res : minimal.rc $(WXDIR)\include\msw\wx.rc
73 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw minimal