diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-07-16 23:21:15 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-07-16 23:21:15 +0200 |
| commit | 0823979013457bc1dfae1087e027e154852b79d5 (patch) | |
| tree | 0170eb1245641aef581e5f97abd363db4ee39823 /makefile | |
| parent | 6eb05f5bd007561fac9dcd3328d888d06d2a3712 (diff) | |
| download | use-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-- | makefile | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -1,14 +1,20 @@ | |||
| 1 | include config.mk | 1 | include config.mk |
| 2 | 2 | ||
| 3 | STREAM=bin/stream | ||
| 4 | STREAM_OBJ_FILES=obj/stream.o | ||
| 5 | |||
| 3 | SIMPLE=bin/simple | 6 | SIMPLE=bin/simple |
| 4 | SIMPLE_OBJ_FILES=obj/simple.o | 7 | SIMPLE_OBJ_FILES=obj/simple.o |
| 5 | 8 | ||
| 6 | release: $(SIMPLE) | 9 | release: $(STREAM) $(SIMPLE) |
| 7 | release: CFLAGS+=-DNDEBUG -O2 | 10 | release: CFLAGS+=-DNDEBUG -O2 |
| 8 | 11 | ||
| 9 | debug: $(SIMPLE) | 12 | debug: $(STREAM) $(SIMPLE) |
| 10 | debug: CFLAGS+=-g | 13 | debug: 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 | ||
