]> git.saurik.com Git - wxWidgets.git/blame - samples/validate/makefile.b32
Added casts to fix compile problem
[wxWidgets.git] / samples / validate / makefile.b32
CommitLineData
457814b5
JS
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
14WXDIR = $(WXWIN)
15!include $(WXDIR)\src\makeb32.env
16
17WXLIBDIR = $(WXDIR)\lib
18WXINC = $(WXDIR)\include\msw
19WXBASESRC = $(WXDIR)\src\base
20WXBASEINC = $(WXDIR)\include\base
21WXLIB = $(WXLIBDIR)\wx32.lib
22LIBS=$(WXLIB) cw32 import32
23
24TARGET=validate
25
26!if "$(FINAL)" == "0"
27LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
28OPT = -Od
29DEBUG_FLAGS= -v
30!else
31LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32OPT = -Od
33DEBUG_FLAGS =
34!endif
35CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
36
37OBJECTS = validate.obj
38
39$(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
40 tlink32 $(LINKFLAGS) @&&!
41c0w32.obj $(OBJECTS)
42$(TARGET)
43nul
44$(LIBS)
45!
46 brc32 -K $(TARGET).res
47
48.$(SRCSUFF).obj:
49 bcc32 $(CPPFLAGS) -c {$< }
50
51.c.obj:
52 bcc32 $(CPPFLAGS) -P- -c {$< }
53
54validate.obj: validate.$(SRCSUFF)
55
56$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
57 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
58
59clean:
60 -erase *.obj
61 -erase *.exe
62 -erase *.res
63 -erase *.map
64 -erase *.rws
65