]> git.saurik.com Git - wxWidgets.git/blob - samples/validate/makefile.b32
Rmoved more wxprop files
[wxWidgets.git] / samples / validate / makefile.b32
1 #
2 # File: makefile.bcc
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds validate example (DOS).
11
12 # WXWIN and BCCDIR are set by parent make
13
14 WXDIR = $(WXWIN)
15 !include $(WXDIR)\src\makeb32.env
16
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 ole2w32
23
24 TARGET=validate
25
26 !if "$(FINAL)" == "0"
27 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
28 OPT = -Od
29 DEBUG_FLAGS= -v
30 !else
31 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32 OPT = -Od
33 DEBUG_FLAGS =
34 !endif
35 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
36
37 OBJECTS = validate.obj
38
39 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
40 tlink32 $(LINKFLAGS) @&&!
41 c0w32.obj $(OBJECTS)
42 $(TARGET)
43 nul
44 $(LIBS)
45 $(TARGET).def
46 $(TARGET).res
47 !
48
49 .$(SRCSUFF).obj:
50 bcc32 $(CPPFLAGS) -c {$< }
51
52 .c.obj:
53 bcc32 $(CPPFLAGS) -P- -c {$< }
54
55 validate.obj: validate.$(SRCSUFF)
56
57 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
58 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
59
60 clean:
61 -erase *.obj
62 -erase *.exe
63 -erase *.res
64 -erase *.map
65 -erase *.rws
66