Re: simple makefile problem
- From: Gianni Mariani <gi3nospam@xxxxxxxxxx>
- Date: Sat, 16 Jun 2007 07:17:25 +1000
bpatton wrote:
On Jun 15, 9:11 am, Gianni Mariani <gi3nos...@xxxxxxxxxx> wrote:bpatton wrote:I know this has to be simple. but it doesn't work!!!!@echo "GTKFLAGS = $(GTKFLAGS)"
GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
all :
@echo `pkg-config gtk+-2.0 --cflags`
@echo "GTKFLAGS = ${GTKFLAGS}"
Or did you mean to export it ?
export GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
THey both should produce the same lines, but GTKFLAGS is empty
No intent to export it.
When I echo the variable ${GTKFLAGS} it is empty.
This is what I get running your original Makefile on cygwin.
$ make -f jnk.mf
-DXTHREADS -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -
I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/inclu
de/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GTKFLAGS = -DXTHREADS -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.
0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -
I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
.
- References:
- simple makefile problem
- From: bpatton
- Re: simple makefile problem
- From: Gianni Mariani
- Re: simple makefile problem
- From: bpatton
- simple makefile problem
- Prev by Date: Re: Solving the lib mismatch problem
- Next by Date: Re: Solving the lib mismatch problem
- Previous by thread: Re: simple makefile problem
- Next by thread: Re: simple makefile problem
- Index(es):
Relevant Pages
|