# HG changeset patch # User Thinker K.F. Li # Date 1225415656 -28800 # Node ID c490796f6c82016f7f834deffaaad5884040cef2 # Parent 042580eb6e6ce64a74aa64993969e379cac9a45b Remove src/mb (soft-link). It is too dirty, please keep it clean. diff -r 042580eb6e6c -r c490796f6c82 examples/tank/Makefile --- 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 diff -r 042580eb6e6c -r c490796f6c82 src/mb --- 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