aboutsummaryrefslogtreecommitdiff
blob: 3187e2847006afed8df751c7b1d41219e5b90074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,7 @@
 .POSIX:
-CC	= cc
 PKG_CONFIG	?= pkg-config
 CFLAGS	+= -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -pedantic $(shell $(PKG_CONFIG) --cflags ncursesw panelw)
-LDLIBS	= $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw")
-PREFIX	= /usr/local
+LDLIBS	= $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw") ${LDFLAGS}
 
 cbonsai: cbonsai.c