6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds dialogs 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\dialogs
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 /DDEBUG=$(DEBUG) /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 /DDEBUG=$(DEBUG) /Fp$(WXDIR)\src\msw\wx.pch $(INC)
36 LINKFLAGS=/NOD /ONERROR:NOEXE /SEG:512
40 SOURCES = dialogs.$(SRCSUFF)
47 nmake -f makefile.dos FINAL=$(FINAL)
52 nmake -f makefile.dos clean
56 dialogs.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) dialogs.def dialogs.res
58 $(OBJECTS) $(WXDIR)\src\msw\dummy.obj,
67 dialogs.obj: dialogs.$(SRCSUFF)
69 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72 dialogs.res : dialogs.rc $(WXDIR)\include\msw\wx.rc
73 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw dialogs