aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2023-06-05 11:00:47 +0200
committerSamuel Fadel <samuel@nihil.ws>2023-06-05 11:00:47 +0200
commit4ce1a7a6d0d9b6b2aaab1b502b878d616f378d1f (patch)
tree0fd85bad4ec66a6ee8f56bc717fc89dbc496993f /Makefile
parentba028ae4dbbf93a461c9c9474889d04e640f64e0 (diff)
Proper libs flags from pkg-config and CFLAGS for release.
* Makefile: Removed -g; added gl to pkg-config and -O2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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