From d101b51e0060fae9fb9f0815c6eb6a156a0a36ce Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 7 Jun 2023 12:17:38 -0500 Subject: force -lnng in makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e10c227..5c2fb60 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CC?=gcc -LIBS?=-lnng +CC=gcc +LIBS+=-lnng ALL_CFLAGS=$(CFLAGS) ALL_LDFLAGS=$(LDFLAGS) ifdef NNG_LIBDIR @@ -17,7 +17,9 @@ endif ifdef LUA_INCDIR ALL_CFLAGS+= -I$(LUA_INCDIR) endif - +ifndef CC + CC=gcc +endif ifeq ($(OS), Windows_NT) ALL_LDFLAGS+=-mwindows LIBS+=-lws2_32 -- cgit v1.2.3-70-g09d2