comparison examples/tank/Makefile @ 164:3fec69d26be3

* use enviroment to adopt M4FLAGS
author "Mat <MatLinuxer2@gmail.com>"
date Mon, 20 Oct 2008 16:27:45 +0800
parents 7d700e5f82ba
children e959ed450b67
comparison
equal deleted inserted replaced
163:7d700e5f82ba 164:3fec69d26be3
5 SVGOS = $(SVGS:C/\.svg/.o/) 5 SVGOS = $(SVGS:C/\.svg/.o/)
6 MBS = $(SVGS:C/\.svg/.mb/) 6 MBS = $(SVGS:C/\.svg/.mb/)
7 SVG2CODE= ../../tools/svg2code.py 7 SVG2CODE= ../../tools/svg2code.py
8 MB_C_HEADER= ../../tools/mb_c_header.m4 8 MB_C_HEADER= ../../tools/mb_c_header.m4
9 M4 = m4 9 M4 = m4
10 M4FLAGS = -I /usr/local/share/mb 10 M4FLAGS ?= -I /usr/local/share/mb
11 LDFLAGS += 11 LDFLAGS +=
12 LIBS += -lmbfly -lX11 -L/usr/local/lib `pkg-config --libs cairo` 12 LIBS += -lmbfly -lX11 -L/usr/local/lib `pkg-config --libs cairo`
13 CFLAGS += -I/usr/local/include `pkg-config --cflags cairo` -I../../src 13 CFLAGS += -I/usr/local/include `pkg-config --cflags cairo` -I../../src
14 BIN = tank 14 BIN = tank
15 15