# @(#) $Header: /home/abrown/public_html/first/first2002chs/software2002/simulator/RCS/Makefile,v 1.13 2006/12/14 21:19:03 abrown Exp $ # Allen Brown date="20061214 13:18:30" # 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 OBJECT = testprog LIBS = pb_math.c pb_io.c INCLUDES = pb.h $(OBJECT): $(OBJECT).c $(LIBS) $(INCLUDES) $(CC) -o $(OBJECT) $(LIBS) $(OBJECT).c DefaultProgram1stick: DefaultProgram1stick.bsx ./pb2c DefaultProgram1stick.bsx > DefaultProgram1stick.c $(CC) -o DefaultProgram1stick $(LIBS) DefaultProgram1stick.c varsboxed: varsboxed.bsx ./pb2c varsboxed.bsx > varsboxed.c $(CC) -o varsboxed $(LIBS) varsboxed.c vars: vars20020324.bsx ./pb2c vars20020324.bsx > vars.c $(CC) -o vars $(LIBS) vars.c pbtest1: pbtest1.bsx ./pb2c pbtest1.bsx > pbtest1.c $(CC) -o pbtest1 $(LIBS) pbtest1.c verify: DefaultProgram1stick varsboxed pbtest1 $(CC) -o testprog $(LIBS) testprog.c ./testprog archive: tar -jcvf simulator.tar.bz2 index.html \ gpl.txt menace.tcl menace.html \ pb_translation pb_math.c pb_io.c pb.h \ testprog.c pb2c pbtest1.bsx Makefile \ varsboxed.bsx DefaultProgram1stick.bsx