path-packer-c/Makefile
2012-08-09 17:51:05 -03:00

19 lines
278 B
Makefile

CFLAGS += $(shell pkg-config --libs --cflags zlib)
CFLAGS += -Wall -g
ifndef CC
CC = gcc
endif
APP = unpack
TMP_FILES = $(wildcard *~)
all: $(APP)
unpack: unpack.c huffman.c huffman.h
$(CC) $(CFLAGS) -o $@ unpack.c huffman.c huffman.h
clean:
rm -rf $(APP) $(TMP_FILES)