25 lines
337 B
Makefile
25 lines
337 B
Makefile
#
|
|
# Author: Lasse Collin
|
|
#
|
|
# This file has been put into the public domain.
|
|
# You can do whatever you want with this file.
|
|
#
|
|
|
|
CC = c99
|
|
CFLAGS = -g
|
|
LDFLAGS = -llzma
|
|
|
|
PROGS = \
|
|
01_compress_easy \
|
|
02_decompress \
|
|
03_compress_custom \
|
|
04_compress_easy_mt
|
|
|
|
all: $(PROGS)
|
|
|
|
.c:
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
clean:
|
|
-rm -f $(PROGS)
|