home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-02-18 | 679 b | 34 lines |
- INSTALLDIR= $(HOME)/Apps/BackSpace.app
-
- DYNAMODULES= SpermView.BackO
-
- THINGSTOREMOVE= SpermView.o
-
- .SUFFIXES: .m .o .c .psw
- .c.o:
- cc -O -g -Wall -c $*.c -o $*.o
- .m.o:
- cc -O -g -Wall -c $*.m -o $*.o
- .psw.h:
- pswrap -a -h $*.h -o $*.c $*.psw
- .psw.o:
- pswrap -a -h $*.h -o $*.c $*.psw
- cc -O -g -Wall -c $*.c -o $*.o
-
- all::
- $(MAKE) $(DYNAMODULES)
-
- SpermView.BackO: SpermView.o SpermView.h
- ld -x -r -o SpermView.BackO SpermView.o
-
- clean::
- rm -rf $(DYNAMODULES) $(THINGSTOREMOVE)
-
-
- install:: all install-views
-
- install-views::
- mkdirs $(INSTALLDIR)/SpermView.BackModule
- cp SpermView.BackO $(INSTALLDIR)/SpermView.BackModule
- cp -r sperm.nib $(INSTALLDIR)/SpermView.BackModule
-