mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 17:19:21 +08:00
15 lines
223 B
Makefile
15 lines
223 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 ../..; make
|
||
|
|
||
|
clean:
|
||
|
rm -f untgz untgz.o *~
|