# Last edited on 2007-04-16 21:17:29 by stolfi PROG = imgcompress MAINOBJ = ${PROG}.o OFILES = LIBS = IFLAGS := \ -I${INC} CFLAGS := \ -g \ -ansi -ffloat-store -frounding-math \ -Wall -Wtraditional -Wpointer-arith -Wmissing-prototypes all: cleanup ${PROG} tests cleanup: ;\ rm -f ${PROG} %.o: %.c ;\ /usr/bin/gcc -c ${IFLAGS} ${CFLAGS} $*.c ${PROG}: ${OFILES} ${MAINOBJ} ${LIBS} ;\ /usr/bin/gcc -o ${PROG} ${MAINOBJ} ${OFILES} ${LIBS} -lm # Dependencies for .c files: noturna.o:: noturna.c tests: imgcompress < lula.img > lula.img.z imgcompress < ciro.img > ciro.img.z imgcompress < serra.img > serra.img.z imgcompress < garotinh.img > garotinh.img.z imgcompress < garotinho.img > garotinho.img.z