home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-12-26 | 948 b | 35 lines |
- # makefile for wasp, Copyright 1991 by Steven Reiz
- # see COPYING and wasp.c for further info
- # this makefile is for sas/lattice c 5.10, 8/12/91
- # usage: lmk -f Makefile.sas
-
- OS = -DAMIGA
- OBJS1 = wasp.o raw.o readiff.o readgif.o readras.o ppm.o operations.o io.o
- OBJS2 = wriff.o wriffcount.o wriffdistr.o wriffout.o
- OBJS3 = scrsz.o version.o
- OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
- SRC1 = wasp.c raw.c readiff.c readgif.c readras.c ppm.c operations.c io.c
- SRC2 = wriff.c wriffcount.c wriffdistr.c wriffout.c
- SRC3 = scrsz.c version.c
- SRC = $(SRC1) $(SRC2) $(SRC3)
-
- #.c.o:
- # lc1 -. -b1 -cafrs -r1r $(OS) -ot:$>.q $>.c
- # go -. t:$>.q
- # lc2 -. -v -m0 -o$>.o t:$>.q
-
- .c.o:
- lc1 -. -b1 -cafrs -d4 -r1r $(OS) -ot:$>.q $>.c
- lc2 -. -v -m0 -o$>.o t:$>.q
-
- all: wasp.sas
-
- wasp.sas: proto.h $(OBJS)
- blink TO wasp.sas WITH Makefile.sas.lnk
-
- wasp.sas-nd: proto.h $(OBJS)
- blink SC SD ND TO wasp.sas-nd WITH Makefile.sas.lnk
-
- proto.h:
- mkproto -o proto.h -s -p $(SRC)
-