]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/deprecated/makefile.vc
added ability to build contrib samples
[wxWidgets.git] / contrib / src / deprecated / makefile.vc
1
2 # File: makefile.vc
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright:
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds Deprecated Features classes library (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 # Set WXDIR for your system
15 WXDIR = $(WXWIN)
16 THISDIR = $(WXDIR)\contrib\src\deprecated
17
18 !if "$(RM)" == ""
19 RM= erase
20 !endif
21
22 NOPCH=1
23
24 # Unfortunately we need this _before_ we include makelib.vc
25 !if "$(FINAL)" == "1"
26 D=Release
27 !else
28 D=Debug
29 LIBEXT=d
30 !endif
31
32 LIBTARGET=$(WXDIR)\lib\wxdeprecated$(LIBEXT).lib
33 EXTRATARGETS=$(D)
34
35 OBJECTS=$(D)\prop.obj $(D)\propform.obj $(D)\proplist.obj $(D)\y_tab.obj $(D)\wxexpr.obj $(D)\resource.obj $(D)\treelay.obj
36
37 !include $(WXDIR)\src\makelib.vc
38
39 $D\y_tab.obj: y_tab.c lex_yy.c
40 cl @<<
41 $(CPPFLAGS2) /c y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
42 <<
43
44 y_tab.c: dosyacc.c
45 copy dosyacc.c y_tab.c
46
47 lex_yy.c: doslex.c
48 copy doslex.c lex_yy.c
49
50