summaryrefslogtreecommitdiff
path: root/Build/source/extra/xz/doc/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/extra/xz/doc/examples/Makefile')
-rw-r--r--Build/source/extra/xz/doc/examples/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/extra/xz/doc/examples/Makefile b/Build/source/extra/xz/doc/examples/Makefile
new file mode 100644
index 00000000000..644dc32ee7b
--- /dev/null
+++ b/Build/source/extra/xz/doc/examples/Makefile
@@ -0,0 +1,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)