]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/src/deprecated/makefile.vc
added new files (after library split)
[wxWidgets.git] / contrib / src / deprecated / makefile.vc
... / ...
CommitLineData
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
35OBJECTS=$(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
44y_tab.c: dosyacc.c
45 copy dosyacc.c y_tab.c
46
47lex_yy.c: doslex.c
48 copy doslex.c lex_yy.c
49
50