6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds internat example (DOS).
13 !error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
17 !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
21 !include $(WXDIR)\src\makebcc.env
23 THISDIR = $(WXDIR)\samples\internat
24 WXLIB = $(WXDIR)\lib\wx.lib
25 LIBS=$(WXLIB) mathwl cwl import
26 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
27 CFG=$(WXDIR)\src\wxwin.cfg
34 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
38 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
42 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
44 OBJECTS = internat.obj
46 internat: internat.exe
50 internat.exe: $(WXLIB) internat.obj internat.def internat.res
51 tlink $(LINKFLAGS) @&&!
58 rc -31 -K internat.res
61 bcc $(CPPFLAGS) -c {$< }
63 internat.obj: internat.$(SRCSUFF)
65 internat.res : internat.rc $(WXDIR)\include\msw\wx.rc
66 rc -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa internat