diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-08-25 15:54:38 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-08-25 15:54:38 +0200 |
| commit | d2de7aa0f180c17ea35032d31b596ea59cb9efbb (patch) | |
| tree | c293bdb3547c0ecbd60c2eff368b5f4ad731bcad /Makefile | |
| parent | 8350d7e977ff836e96ee53907cedc91a01814271 (diff) | |
Minor changes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ CONF=$(PWD)/config.mk include $(CONF) CC="gcc" -CFLAGS= +CFLAGS=-lzmq MACROS=\ -DZMQ_TOKEN=\"$(ZMQ_TOKEN)\" \ @@ -12,10 +12,10 @@ MACROS=\ all: publisher subscriber publisher: src/publisher.c src/utils.c config.mk - $(CC) -lzmq -lpthread $(filter-out config.mk,$^) -o $@ $(MACROS) + $(CC) $(filter-out config.mk,$^) -o $@ $(MACROS) $(CFLAGS) -lpthread subscriber: src/subscriber.c src/utils.c config.mk - $(CC) -lzmq $(filter-out config.mk,$^) -o $@ $(MACROS) + $(CC) $(filter-out config.mk,$^) -o $@ $(MACROS) $(CFLAGS) publish: publisher [ -f pid ] && { cat pid|xargs kill -INT; rm pid; } || exit 0 |
