home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-08-17 | 1.5 KB | 51 lines |
- # Makefile -- makefile for BattleView
- # Copyright (C) 1992, 1993 David A. Strout
- #
- # 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, 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
- # Written by David Strout <dstrout@isi.edu>.
-
-
-
-
- INSTALLDIR= $(HOME)/Apps/BackSpace.app
-
- DYNAMODULES= BattleView.BackO
-
- THINGSTOREMOVE= BattleView.o SpaceThing.o Ship.o Weapon.o *~
-
- .SUFFIXES: .m .o .c .psw
-
- .m.o:
- cc -O -g -Wall -c $*.m -o $*.o
-
- all::
- $(MAKE) $(DYNAMODULES)
-
- BattleView.BackO: BattleView.o BattleView.h SpaceThing.o SpaceThing.h Ship.o Ship.h Weapon.o Weapon.h
- ld -x -r -o BattleView.BackO BattleView.o SpaceThing.o Ship.o Weapon.o
-
- clean::
- rm -rf $(THINGSTOREMOVE)
-
-
- install:: all install-views
-
- install-views::
- mkdirs $(INSTALLDIR)/BattleView.BackModule
- cp BattleView.BackO $(INSTALLDIR)/BattleView.BackModule
- cp -r Battle.nib $(INSTALLDIR)/BattleView.BackModule
- cp -r *.tiff $(INSTALLDIR)/BattleView.BackModule
-