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