commit 27330b38c2873efffd2ac9c52ce3fe7965813b5a
parent 032b9b874f73e8a65a18bd4177eeeaf41bff0ae4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 7 Apr 2022 17:13:28 +0200
Fix config.mk
Remove /usr/lib and /usr/include from compilation paths. On 64-bits
systems, they can reference 32-bits libraries.
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/config.mk b/config.mk
@@ -1,10 +1,7 @@
CC = cc
PREFIX = /usr/local
-INC = /usr/include
-LIB = /usr/lib
AFLAGS = crs
WFLAGS = -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wconversion -Wshadow
-CFLAGS = -O2 -std=c89 -pedantic -I$(INC) $(WFLAGS)
-LDFLAGS = -L$(LIB)
+CFLAGS = -O2 -std=c89 -pedantic $(WFLAGS)
LDLIBS = -lm -lrsys -lgmsh