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.
17 lines
281 B
Makefile
17 lines
281 B
Makefile
15 years ago
|
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
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o xz test.out test.base
|
||
|
|
||
|
.PHONY: run clean
|