From 6031b07eb4f50af49bcd99951a28bd63dbf1c5b6 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 5 Aug 2020 16:03:28 +0200 Subject: added utils module to share some code parts with other apps Signed-off-by: Toni Uhlig --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1bee6127d..0ba17bd30 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3