6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds validate example (DOS).
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makeb32.env
17 WXLIBDIR = $(WXDIR)\lib
18 WXINC = $(WXDIR)\include\msw
19 WXBASESRC = $(WXDIR)\src\base
20 WXBASEINC = $(WXDIR)\include\base
21 WXLIB = $(WXLIBDIR)\wx32.lib
22 LIBS=$(WXLIB) cw32 import32
27 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
31 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
35 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
37 OBJECTS = validate.obj
39 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
40 tlink32 $(LINKFLAGS) @&&!
46 brc32 -K $(TARGET).res
49 bcc32 $(CPPFLAGS) -c {$< }
52 bcc32 $(CPPFLAGS) -P- -c {$< }
54 validate.obj: validate.$(SRCSUFF)
56 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
57 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)