packvfs

annotate 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
rev   line source
nuclear@3 1 src = $(wildcard src/*.c) $(wildcard src/minizip/*.c)
nuclear@3 2 obj = $(src:.c=.o)
nuclear@3 3 bin = zipcat
nuclear@3 4
nuclear@3 5 CFLAGS = -std=c99 -pedantic -Wall -g
nuclear@3 6 LDFLAGS = -lz
nuclear@3 7
nuclear@3 8 $(bin): $(obj)
nuclear@3 9 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@3 10
nuclear@3 11 .PHONY: clean
nuclear@3 12 clean:
nuclear@3 13 rm -f $(obj) $(bin)