mirror of https://github.com/vasi/pixz
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.
19 lines
326 B
Makefile
19 lines
326 B
Makefile
LDFLAGS = -L/Library/Fink/sl64/lib -llzma
|
|
CFLAGS = -I/Library/Fink/sl64/include -g -O0
|
|
|
|
xz: xz.o
|
|
gcc $(LDFLAGS) -Wall -o $@ $<
|
|
|
|
%.o: %.c
|
|
gcc $(CFLAGS) -std=c99 -Wall -c -o $@ $<
|
|
|
|
run: xz
|
|
time ./xz < test.in > test.out
|
|
@md5sum test.in
|
|
@xz -d < test.out | md5sum
|
|
|
|
clean:
|
|
rm -f *.o xz test.out test.base
|
|
|
|
.PHONY: run clean
|