aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/farbfeld/files/patch-config.mk
blob: 5ae21a0cca6ce494f96c7b354474086bfe1ee656 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- config.mk.orig	2018-04-11 10:59:06 UTC
+++ config.mk
@@ -9,10 +9,10 @@ CPPFLAGS = -D_DEFAULT_SOURCE
 
 # flags
 CPPFLAGS = -D_DEFAULT_SOURCE
-CFLAGS   = -std=c99 -pedantic -Wall -Wextra -Os
-LDFLAGS  = -s
+CFLAGS   += -std=c99 -pedantic -Wall -Wextra -Os -I${LOCALBASE}/include
+LDFLAGS  = -s -L${LOCALBASE}/lib
 PNG-LDLIBS = -lpng
 JPG-LDLIBS = -ljpeg
 
 # compiler and linker
-CC = cc
+CC ?= cc