# Turbo C Makefile
# Copyright (C) 1990 Marty White
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Usage: make
# make -DDEBUG
# make physcalc.zip
CC = bcc
COPT = -c -O1
LINK = tlink
!if $d(DEBUG)
COPT = -c -v -y
LOPT = /v /l
!endif
.PATH.lib = c:\bc\lib\
.c.obj :
$(CC) $(COPT) {$< }
physcalc.exe : physmain.obj physsolv.obj physconv.obj physnode.obj \
physoper.obj physmlib.obj cs.lib
$(LINK) $(LOPT) @&&|
$(.PATH.lib)\c0s.obj +
physmain.obj +
physsolv.obj +
physconv.obj +
physnode.obj +
physoper.obj +
physmlib.obj
physcalc,
$(.PATH.lib)\maths.lib +
$(.PATH.lib)\emu.lib +
$(.PATH.lib)\cs.lib
|
ZIPPGM_FILES = *.txt physcalc.exe physcalc *.phy *.ico *.c *.h makefile *.prj *.mak build*.*
physcalc.zip: $(ZIPPGM_FILES)
del physcalc.zip
tolower *
zip physcalc.zip $(ZIPPGM_FILES)
syntax highlighted by Code2HTML, v. 0.9.1