From 4ce1a7a6d0d9b6b2aaab1b502b878d616f378d1f Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 5 Jun 2023 11:00:47 +0200 Subject: Proper libs flags from pkg-config and CFLAGS for release. * Makefile: Removed -g; added gl to pkg-config and -O2 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 058675a..7203205 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CFLAGS=-O0 -g -Iinclude `pkg-config --cflags armadillo glfw3` -LIBS=-lGL `pkg-config --libs armadillo glfw3` +CFLAGS=-O2 -Iinclude `pkg-config --cflags armadillo glfw3` +LIBS=`pkg-config --libs armadillo gl glfw3` OBJS=barchart.o brushinghandler.o colormap.o colorscale.o continuouscolorscale.o divergentcolorscale.o dist.o forcescheme.o geometry.o lamp.o manipulationhandler.o mapscalehandler.o measures.o projectionhistory.o quadtree.o scale.o scatterplot.o shader.o voronoisplat.o all: pm -- cgit v1.2.3