home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-06-10 | 1.3 KB | 65 lines |
- #
- # Turbo Vision 1.0
- # Turbo Vision Forms Demo
- # Copyright (c) 1991 by Borland International
-
- # This makefile generates two forms data files,
- # PHONENUM.TVF and PARTS.TVF. These can be loaded
- # and edited using TVFORMS.CPP.
-
- #
- # Configuration:
- #
- # If you have Borland C++ and not Turbo C++, you must use a define on
- # the make command line:
- #
- # -DBC indicates that you have Borland C++
- #
- # Examples:
- #
- # using Turbo C++:
- #
- # make -fgenforms
- #
- # using Borland C++:
- #
- # make -DBC -fgenforms
- #
-
- .autodepend
- .swap
-
- !if $d(BC)
- CC = bcc
- !else
- CC = tcc
- !endif
-
- INCLUDE = ..\include;..\..\include
- LIB = ..\..\lib
- MODEL = l
- TVLIB = ..\lib\tv.lib
- SRC = genform.cpp
- OBJS = forms.obj datacoll.obj fields.obj listdlg.obj
-
- .cpp.obj:
- $(CC) -c -m$(MODEL) -I$(INCLUDE) {$< }
-
- all: phonenum.tvf parts.tvf
-
- phonenum.tvf: $(SRC) $(OBJS) $(TVLIB)
- $(CC) -DPHONENUM -m$(MODEL) -I$(INCLUDE) -L$(LIB) @&&|
- $(SRC)
- $(OBJS)
- $(TVLIB)
- |
- genform
-
- parts.tvf: $(SRC) $(OBJS) $(TVLIB)
- $(CC) -DPARTS -m$(MODEL) -I$(INCLUDE) -L$(LIB) @&&|
- $(SRC)
- $(OBJS)
- $(TVLIB)
- |
- genform
-