mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-16 15:50:53 +00:00
15 lines
234 B
Makefile
15 lines
234 B
Makefile
|
CC=cc
|
||
|
CFLAGS=-g
|
||
|
|
||
|
untgz: untgz.o ../../libz.a
|
||
|
$(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz
|
||
|
|
||
|
untgz.o: untgz.c ../../zlib.h
|
||
|
$(CC) $(CFLAGS) -c -I../.. untgz.c
|
||
|
|
||
|
../../libz.a:
|
||
|
cd ../..; ./configure; make
|
||
|
|
||
|
clean:
|
||
|
rm -f untgz untgz.o *~
|