# @(#) $Header: /home/abrown/public_html/first/first2003chs/software/simulator/RCS/Makefile,v 2.3 2006/12/14 19:40:16 abrown Exp $ # Allen Brown date="20061214 11:35:48" # This make file is useful mainly to validate and package # the simulator for distribution. ###Copyright (C) 2002 Allen Brown ### ###This program is free software; you can redistribute it and/or modify ###it under the terms of the GNU General Public License version 2 as ###published by the Free Software Foundation. ### ###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 ### ###To contact the author of this software: ### Allen Brown ### PO Box J ### Corvallis, OR ### ### http://brown.armoredpenguin.com/~abrown/contact.html LIBS = pb_math.c pb_io.c pb_support.c INCLUDES = pb.h verify: DefaultProgram1stick zipcode1 pbtest0 pbtest1 pbtest2 ./pbtest0 echo "" | ./pbtest1 ./pbtest2 DefaultProgram1stick: DefaultProgram1stick.bsx $(LIBS) $(INCLUDES) pb2c ./pb2c DefaultProgram1stick.bsx > DefaultProgram1stick.c $(CC) -o DefaultProgram1stick $(LIBS) DefaultProgram1stick.c zipcode1: zipcode1.bsx $(LIBS) $(INCLUDES) pb2c ./pb2c zipcode1.bsx > zipcode1.c $(CC) -o zipcode1 $(LIBS) zipcode1.c zipcode2: zipcode2.bsx $(LIBS) $(INCLUDES) pb2c ./pb2c zipcode2.bsx > zipcode2.c $(CC) -o zipcode2 $(LIBS) zipcode2.c pbtest0: pbtest0.c $(LIBS) $(INCLUDES) $(CC) -o pbtest0 $(LIBS) pbtest0.c pbtest1: pbtest1.c $(LIBS) $(INCLUDES) $(CC) -o pbtest1 $(LIBS) pbtest1.c pbtest2: pbtest2.bsx $(LIBS) $(INCLUDES) pb2c ./pb2c pbtest2.bsx > pbtest2.c $(CC) -o pbtest2 $(LIBS) pbtest2.c archive: tar -cvf simulator.tar index.html \ gpl.txt zipties.tcl zipties.html \ pb_translation $(LIBS) $(INCLUDES) \ pb2c Makefile pbtest0.c pbtest1.c pbtest2.bsx \ zipcode1.bsx DefaultProgram1stick.bsx