6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds layout example (DOS).
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 THISDIR = $(WXDIR)\samples\layout
20 WXLIB = $(WXDIR)\lib\wx.lib
21 LIBS=$(WXLIB) oldnames libw llibcew commdlg ddeml shell mmsystem
22 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
23 DUMMY=$(WXDIR)\src\msw\dummy.obj
25 # Set this to nothing if using MS C++ 7
33 CPPFLAGS=/AL /W3 /Zi $(ZOPTION) /G2sw /Od $(INC) /YuWX_PREC.H /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
34 LINKFLAGS=/NOD /CO /ONERROR:NOEXE /SEG:512
36 CPPFLAGS=/AL /W3 /G2sw $(INC) /Ox /YuWX_PREC.H /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
37 LINKFLAGS=/NOD /ONERROR:NOEXE /SEG:512
41 SOURCES = layout.$(SRCSUFF)
50 nmake -f makefile.dos FINAL=$(FINAL)
55 nmake -f makefile.dos clean
59 layout.exe: $(DUMMY) $(WXLIB) layout.obj layout.def layout.res
70 layout.obj: layout.h layout.$(SRCSUFF) $(DUMMY)
72 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
75 layout.res : layout.rc $(WXDIR)\include\msw\wx.rc
76 rc -r /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa layout