home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Amiga Shareware Floppies
/
ma01.dms
/
ma01.adf
/
wasp
/
src
/
Makefile.ux
< prev
next >
Wrap
Makefile
|
1991-12-26
|
790b
|
33 lines
# makefile for wasp, Copyright 1991 by Steven Reiz
# see COPYING and wasp.c for further info
# this makefile is for UNIX with gcc, 8/12/91, 27/12/91
# usage: make -f Makefile.ux
CC = gcc
OS = -DUNIX
CFLAGS = -O $(OS)
LD = gcc
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 = 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 = version.c
SRC = $(SRC1) $(SRC2) $(SRC3)
.c.o:
$(CC) -c $(CFLAGS) $*.c
all: wasp
wasp: $(OBJS)
$(LD) -o wasp $(OBJS)
proto.h:
mkproto -o proto.h -s -p $(SRC)
$(OBJS1) $(OBJS2): wasp.h errors.h proto.h
$(OBJS2): wriff.h
io.u: errors.h proto.h