changeset 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 042580eb6e6c
children 9008ac31efbd
files examples/tank/Makefile src/mb
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/examples/tank/Makefile	Fri Oct 31 01:01:43 2008 +0800
+++ b/examples/tank/Makefile	Fri Oct 31 09:14:16 2008 +0800
@@ -8,13 +8,14 @@
 MB_C_HEADER=    mb_c_header.m4
 MB_C_SOURCE=    mb_c_source.m4
 M4 =	m4
-M4MACRODIR?=	/usr/local/share/mb
+PREFIX?=	/usr/local
+M4MACRODIR?=	$(PREFIX)/share/mb
 M4FLAGS ?=	-I $(M4MACRODIR)
 LDFLAGS +=	
-INCDIR?=	/usr/local/include
-LIBDIR?=	/usr/local/lib
-LIBS +=		-lmbfly -lX11 -L$(LIBDIR) `pkg-config --libs cairo` -L../../src
-CFLAGS +=	-I$(INCDIR) `pkg-config --cflags cairo` -I../../src
+INCDIR?=	$(PREFIX)/include
+LIBDIR?=	$(PREFIX)/lib
+LIBS +=		-lmbfly -lX11 -L$(LIBDIR) `pkg-config --libs cairo`
+CFLAGS +=	-I$(INCDIR) `pkg-config --cflags cairo`
 BIN = tank
 
 all:	tank
--- a/src/mb	Fri Oct 31 01:01:43 2008 +0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.
\ No newline at end of file