packvfs

view test/zipcat/Makefile @ 3:ef6c1472607f

jesus fucking christ that was easy... written a test prog "zipcat" to try out zlib's contrib library "minizip", to list and read files out of zip archives directly...
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 04 Nov 2013 06:46:17 +0200
parents
children
line source
1 src = $(wildcard src/*.c) $(wildcard src/minizip/*.c)
2 obj = $(src:.c=.o)
3 bin = zipcat
5 CFLAGS = -std=c99 -pedantic -Wall -g
6 LDFLAGS = -lz
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)