summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-07-16 23:21:15 +0200
committerThomas Schmucker <ts@its1.de>2026-07-16 23:21:15 +0200
commit0823979013457bc1dfae1087e027e154852b79d5 (patch)
tree0170eb1245641aef581e5f97abd363db4ee39823 /makefile
parent6eb05f5bd007561fac9dcd3328d888d06d2a3712 (diff)
downloaduse-zlib-0823979013457bc1dfae1087e027e154852b79d5.tar.gz
use-zlib-0823979013457bc1dfae1087e027e154852b79d5.tar.bz2
use-zlib-0823979013457bc1dfae1087e027e154852b79d5.zip
Beispiel für die Streaming-API hinzugefügt
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/makefile b/makefile
index 4ce05bc..312721e 100644
--- a/makefile
+++ b/makefile
@@ -1,14 +1,20 @@
1include config.mk 1include config.mk
2 2
3STREAM=bin/stream
4STREAM_OBJ_FILES=obj/stream.o
5
3SIMPLE=bin/simple 6SIMPLE=bin/simple
4SIMPLE_OBJ_FILES=obj/simple.o 7SIMPLE_OBJ_FILES=obj/simple.o
5 8
6release: $(SIMPLE) 9release: $(STREAM) $(SIMPLE)
7release: CFLAGS+=-DNDEBUG -O2 10release: CFLAGS+=-DNDEBUG -O2
8 11
9debug: $(SIMPLE) 12debug: $(STREAM) $(SIMPLE)
10debug: CFLAGS+=-g 13debug: CFLAGS+=-g
11 14
15$(STREAM): $(STREAM_OBJ_FILES) | bin
16 cc $(LDFLAGS) $^ -o $@
17
12$(SIMPLE): $(SIMPLE_OBJ_FILES) | bin 18$(SIMPLE): $(SIMPLE_OBJ_FILES) | bin
13 cc $(LDFLAGS) $^ -o $@ 19 cc $(LDFLAGS) $^ -o $@
14 20