packvfs

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