1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#
# Compface - 48x48x1 image compression and decompression
#
# Copyright (c) James Ashton - Sydney University - June 1990.
#
# Written 11th November 1989.
#
# Permission is given to distribute these sources, as long as the
# copyright messages are not removed, and no monies are exchanged.
#
# No responsibility is taken for any errors on inaccuracies inherent
# either to the comments or the code of this program, but if reported
# to me, then an attempt will be made to fix them.
# $Id: Makefile.std,v 1.1.1.1 1999/10/19 13:52:05 cfreeze Exp $
# SYSV is expected to be overridden by the calling Makefile.
#--------------------------------------------------------------------------
# If you are running on a Unix System V machine, then you should uncomment
# the next definition.
#
#SYSV = -DSYSV32
#--------------------------------------------------------------------------
LIBNAME = libface.a
OBJECTS = arith.o file.o compress.o gen.o face.o
SOURCES = face.c arith.c file.c compress.c gen.c \
HDRS = compface.h data.h
CC = gcc
CDEFS = $(SYSV)
CCOMP = -O2
CFLAGS = $(CDEFS) $(CCOMP)
# On HP uncomment the following lines
# CC = cc
# CCOMP = -Ac
# on SGI
# CC = cc
all: $(LIBNAME)
$(LIBNAME) : $(OBJECTS)
ar rc $(LIBNAME) $(OBJECTS)
-ranlib $(LIBNAME)
clean :
rm -f *.o *.a core a.out
arith.o: arith.c compface.h data.h
compress.o: compress.c compface.h data.h
file.o: file.c compface.h data.h
gen.o: gen.c compface.h data.h
face.o: face.c compface.h data.h
|