Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « untgz « contrib « zlib « png « src - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b54266fba20a167a1d83b7afd503dfd2f849ca57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 *~