diff options
| author | Thomas Schmucker <ts@its1.de> | 2024-10-27 22:02:05 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2024-10-27 22:02:05 +0100 |
| commit | 8859b6b8c78beca455e1273b5a31f09e165eed03 (patch) | |
| tree | 0f55dac8245781427ae842422b547160e3107718 /makefile | |
| parent | 5bd0a0cd5e6951723398aadc601f1fcc2a6187b8 (diff) | |
| download | use-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-- | makefile | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -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 | ||
| 17 | obj/%.o: src/%.c | obj | 17 | obj/%.o: src/%.c include/config.h | obj |
| 18 | cc $(CFLAGS) -c $< -o $@ | 18 | cc $(CFLAGS) -c $< -o $@ |
| 19 | 19 | ||
| 20 | include/config.h: | ||
| 21 | cp config.h.in $@ | ||
| 22 | |||
| 20 | bin obj: | 23 | bin obj: |
| 21 | mkdir -p $@ | 24 | mkdir -p $@ |
| 22 | 25 | ||
