comparison examples/tank/Makefile @ 173:c490796f6c82

Remove src/mb (soft-link). It is too dirty, please keep it clean.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 31 Oct 2008 09:14:16 +0800
parents 73c4e93d331c
children
comparison
equal deleted inserted replaced
172:042580eb6e6c 173:c490796f6c82
6 MBS = $(SVGS:C/\.svg/.mb/) 6 MBS = $(SVGS:C/\.svg/.mb/)
7 SVG2CODE= svg2code.py 7 SVG2CODE= svg2code.py
8 MB_C_HEADER= mb_c_header.m4 8 MB_C_HEADER= mb_c_header.m4
9 MB_C_SOURCE= mb_c_source.m4 9 MB_C_SOURCE= mb_c_source.m4
10 M4 = m4 10 M4 = m4
11 M4MACRODIR?= /usr/local/share/mb 11 PREFIX?= /usr/local
12 M4MACRODIR?= $(PREFIX)/share/mb
12 M4FLAGS ?= -I $(M4MACRODIR) 13 M4FLAGS ?= -I $(M4MACRODIR)
13 LDFLAGS += 14 LDFLAGS +=
14 INCDIR?= /usr/local/include 15 INCDIR?= $(PREFIX)/include
15 LIBDIR?= /usr/local/lib 16 LIBDIR?= $(PREFIX)/lib
16 LIBS += -lmbfly -lX11 -L$(LIBDIR) `pkg-config --libs cairo` -L../../src 17 LIBS += -lmbfly -lX11 -L$(LIBDIR) `pkg-config --libs cairo`
17 CFLAGS += -I$(INCDIR) `pkg-config --cflags cairo` -I../../src 18 CFLAGS += -I$(INCDIR) `pkg-config --cflags cairo`
18 BIN = tank 19 BIN = tank
19 20
20 all: tank 21 all: tank
21 22
22 tank: tank_main.o $(SVGOS) 23 tank: tank_main.o $(SVGOS)