]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/deprecated/makefile.vc
minor corrections for compilation with gcc 3.3 (use cast of address instead
[wxWidgets.git] / contrib / src / deprecated / makefile.vc
CommitLineData
4a3bdee6
JS
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
15WXDIR = $(WXWIN)
16THISDIR = $(WXDIR)\contrib\src\deprecated
17
18!if "$(RM)" == ""
19RM= erase
20!endif
21
22NOPCH=1
23
24# Unfortunately we need this _before_ we include makelib.vc
25!if "$(FINAL)" == "1"
26D=Release
27!else
28D=Debug
29LIBEXT=d
30!endif
31
32LIBTARGET=$(WXDIR)\lib\wxdeprecated$(LIBEXT).lib
33EXTRATARGETS=$(D)
34
7c9955d1 35OBJECTS=$(D)\prop.obj $(D)\propform.obj $(D)\proplist.obj $(D)\y_tab.obj $(D)\wxexpr.obj $(D)\resource.obj $(D)\treelay.obj
4a3bdee6
JS
36
37!include $(WXDIR)\src\makelib.vc
38
f2638c97 39$D\y_tab.obj: y_tab.c lex_yy.c
2fc9385a 40 cl @<<
f2638c97 41$(CPPFLAGS2) /c y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
2fc9385a
JS
42<<
43
f2638c97
JS
44y_tab.c: dosyacc.c
45 copy dosyacc.c y_tab.c
2fc9385a 46
f2638c97
JS
47lex_yy.c: doslex.c
48 copy doslex.c lex_yy.c
2fc9385a
JS
49
50