You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixz/Makefile

21 lines
387 B
Makefile

LDFLAGS = -L/Library/Fink/sl64/lib -llzma -Wall
CFLAGS = -I/Library/Fink/sl64/include -g -O0 -std=c99 -Wall
PIXZ_OBJS: pixz.o encode.o block.o
pixz: $(PIXZ_OBJS)
gcc $(LDFLAGS) -o $@ $^
$(PIXZ_OBJS): %.o: %.c pixz.h
gcc $(CFLAGS) -c -o $@ $<
run: pixz
time ./$< < test.in > test.out
@md5sum test.in
@xz -d < test.out | md5sum
clean:
rm -f *.o pixz test.out
.PHONY: run clean