mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
3a0c5378ab
These have more comments than the old examples and human-readable error messages. More tutorial-like examples are needed but these are a start.
23 lines
314 B
Makefile
23 lines
314 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
|
|
|
|
all: $(PROGS)
|
|
|
|
.c:
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
clean:
|
|
-rm -f $(PROGS)
|