]> git.saurik.com Git - wxWidgets.git/blob - samples/dialogs/makefile.b32
Test for image conversion correctness.
[wxWidgets.git] / samples / dialogs / makefile.b32
1 #
2 # File: makefile.bcc
3 # Author: Adnre Beltman
4 # Created: 1995
5 # Updated:
6 # Copyright: (c) 1995, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds dialogs 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 WXLIB=$(WXLIBDIR)\wx32.lib
19 LIBS=$(WXLIB) cw32 import32
20
21 TARGET=dialogs
22
23 !if "$(FINAL)" == "0"
24 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
25 OPT = -Od
26 DEBUG_FLAGS= -v
27 !else
28 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
29 OPT = -Od
30 DEBUG_FLAGS =
31 !endif
32 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
33
34 OBJECTS = dialogs.obj
35
36 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
37 tlink32 $(LINKFLAGS) @&&!
38 c0w32.obj $(OBJECTS)
39 $(TARGET)
40 nul
41 $(LIBS)
42 !
43 brc32 -K $(TARGET).res
44
45 .$(SRCSUFF).obj:
46 bcc32 $(CPPFLAGS) -c {$< }
47
48 .c.obj:
49 bcc32 $(CPPFLAGS) -P- -c {$< }
50
51 dialogs.obj: dialogs.$(SRCSUFF)
52
53 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
54 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
55
56 clean:
57 -erase *.obj
58 -erase *.exe
59 -erase *.res
60 -erase *.map
61 -erase *.rws
62