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
|
########################################################################
#
# Makefile for libpcd - a library for PhotoCD access
#
# (c) 1996 Gerd Knorr <kraxel@cs.tu-berlin.de>
#
srcdir=@srcdir@
VPATH=$(srcdir)
include ../Make.config
CFLAGS=@CFLAGS@ -Wall -I..
SRCS= $(srcdir)/file.c \
$(srcdir)/yuv2rgb.c \
$(srcdir)/huff.c \
$(srcdir)/inter.c
OBJS=file.o yuv2rgb.o huff.o inter.o
all: libpcd.a
libpcd.a: $(OBJS)
rm -f $@
ar rc $@ $(OBJS)
ranlib $@
install-lib:
$(MKDIR) $(libdir)
$(MKDIR) $(incdir)
$(INSTALL_DATA) libpcd.a $(libdir)
$(INSTALL_DATA) $(srcdir)/pcd.h $(incdir)
install:
depend dep:
$(DEPEND) -- $(CFLAGS) -- $(SRCS)
clean:
-rm -f *~ *.bak *.o
realclean:
-rm -f libpcd.a Makefile
#-------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend depends on it.
|