# Generated automatically from Makefile.in by configure. # Tim Vanderhoek # aprez/Makefile # Version 0.9.7.1, released August 19, 1997 # Copyright (c) 1997, Timothy M. Vanderhoek # CP= cp CC= cc RM= rm -f LIBASS= ../libass/libass.a LIBAI= ../libai/libai.a DEBUGOPTS= -I/usr/local/include -L/usr/local/lib CFLAGS+= -Wall -Wwrite-strings \ -Wstrict-prototypes -Wno-unused -Wcast-qual ${DEBUGOPTS} \ -I../libai -L../libai -I../libass -L../libass all: aprez aprez: _aprez.o colour.o ${LIBASS} ${LIBAI} ${CC} _aprez.o colour.o ${CFLAGS} -lass -lai -o aprez _aprez.o: _aprez.c ${CC} -c -o _aprez.o _aprez.c ${CFLAGS} _aprez.c: aprez.c tempfile1 ../ABOUT # Yes, I know this is ugly, but that's what Windows does to # code... cat ../ABOUT | perl -pe 's/(\")/\\$$1/g;' > tempfile2 perl -e '$$a=`cat tempfile1`; $$b=`cat tempfile2`; \ $$a=~s/\n/\\n\"\n\"/g; $$a=~s/^/\"/g; $$a=~s/\"//; \ $$b=~s/\n/\\n\"\n\"/g; $$b=~s/^/\"/g; $$b=~s/\"//; \ while (<>) { \ s/\!COPYING\!/$$a/g; \ s/\!ABOUT\!/$$b/g; \ } continue { \ print; \ }' aprez.c > _aprez.c ${RM} tempfile2 tempfile1: ../COPYING @# Can't have a space in the perl statement, or my Win95 compile @# screws-up... cat ../COPYING | perl -pe 's/(\")/\\$$1/g;s/\f/\n/g;' > tempfile1 colour.o: colour.c ${CC} -c -o colour.o colour.c ${CFLAGS} clean: ${RM} *.o aprez aprez.exe _aprez.c tempfile2 distclean: clean ${RM} aprez.core tempfile1 realclean: distclean ${RM} Makefile