aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/Makefile
blob: 644dc32ee7bc437f11d1f8924f7986f27ab82eda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# 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

all: $(PROGS)

.c:
	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)

clean:
	-rm -f $(PROGS)