From: Jeremy Kerr Date: Mon, 2 Apr 2007 08:17:04 +0000 (+1000) Subject: Allow twin cflags and libs to be explicitly defined X-Git-Tag: v0.0.1~30 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=392ef72ca8ea92ce8aacef01fda3046f0e9f59b2;hp=97c3ef20eed550aa3323fa20848a62f9abe87704 Allow twin cflags and libs to be explicitly defined Signed-off-by: Jeremy Kerr --- diff --git a/Makefile b/Makefile index 240f5d6..e3bba3e 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ VERSION=0.0.1 PACKAGE=petitboot CC=gcc INSTALL=install -TWIN_CFLAGS=$(shell pkg-config --cflags libtwin) -TWIN_LDFLAGS=$(shell pkg-config --libs libtwin) +TWIN_CFLAGS?=$(shell pkg-config --cflags libtwin) +TWIN_LDFLAGS?=$(shell pkg-config --libs libtwin) LDFLAGS = CFLAGS = -O0 -ggdb -Wall '-DPREFIX="$(PREFIX)"'