summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2024-10-27 22:02:05 +0100
committerThomas Schmucker <ts@its1.de>2024-10-27 22:02:05 +0100
commit8859b6b8c78beca455e1273b5a31f09e165eed03 (patch)
tree0f55dac8245781427ae842422b547160e3107718 /makefile
parent5bd0a0cd5e6951723398aadc601f1fcc2a6187b8 (diff)
downloaduse-mosquitto-8859b6b8c78beca455e1273b5a31f09e165eed03.tar.gz
use-mosquitto-8859b6b8c78beca455e1273b5a31f09e165eed03.tar.bz2
use-mosquitto-8859b6b8c78beca455e1273b5a31f09e165eed03.zip
Verschiebe Einstellungen in eine eigene config.h Datei
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 7fada65..536bcd2 100644
--- a/makefile
+++ b/makefile
@@ -14,9 +14,12 @@ debug: CFLAGS+=-g
14$(BINARY): $(OBJ_FILES) | bin 14$(BINARY): $(OBJ_FILES) | bin
15 cc $(LDFLAGS) $^ -o $@ 15 cc $(LDFLAGS) $^ -o $@
16 16
17obj/%.o: src/%.c | obj 17obj/%.o: src/%.c include/config.h | obj
18 cc $(CFLAGS) -c $< -o $@ 18 cc $(CFLAGS) -c $< -o $@
19 19
20include/config.h:
21 cp config.h.in $@
22
20bin obj: 23bin obj:
21 mkdir -p $@ 24 mkdir -p $@
22 25