diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-08-05 16:03:28 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-08-05 16:03:28 +0200 |
commit | 6031b07eb4f50af49bcd99951a28bd63dbf1c5b6 (patch) | |
tree | 88d634ad914ac06abb622393b0593c35254320ac /Makefile | |
parent | 88aa7681842e294d4cb7c440abbbd51dacf54153 (diff) |
added utils module to share some code parts with other apps
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -43,11 +43,11 @@ all: help nDPId nDPIsrvd examples: examples/c-json-stdout/c-json-stdout -nDPId: nDPId.c - $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $@.c -o $@ $(LDFLAGS) $(LIBS) +nDPId: nDPId.c utils.c + $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LIBS) -nDPIsrvd: nDPIsrvd.c - $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $@.c -o $@ $(LDFLAGS) $(LIBS) +nDPIsrvd: nDPIsrvd.c utils.c + $(CC) $(PROJECT_CFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LIBS) examples/c-json-stdout/c-json-stdout: ifneq ($(DISABLE_JSMN),yes) |