summaryrefslogtreecommitdiffstats
path: root/doc/examples/Makefile
blob: f5b98788ece821f1727ec3644c30f7115bd9148f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: 0BSD
# Author: Lasse Collin

CC = c99
CFLAGS = -g
LDFLAGS = -llzma

PROGS = \
	01_compress_easy \
	02_decompress \
	03_compress_custom \
	04_compress_easy_mt \
	11_file_info

all: $(PROGS)

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

clean:
	-rm -f $(PROGS)