6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds grid test example (DOS).
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makeb32.env
17 WXLIBDIR = $(WXDIR)\lib
18 WXLIB = $(WXLIBDIR)\wx32.lib
19 LIBS=$(WXLIB) cw32 import32
24 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
28 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
36 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
37 tlink32 $(LINKFLAGS) @&&!
44 brc32 -K $(TARGET).res
47 bcc32 $(CPPFLAGS) -c {$< }
50 bcc32 $(CPPFLAGS) -P- -c {$< }
52 test.obj: test.$(SRCSUFF)
54 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
55 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)