summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8e16c69..0999470 100755
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -Iincludes `sdl-config --cflags` -DHAVE_ZLIB `baltisot-config --cflags` `lua-config --include`
LDFLAGS=-lz `sdl-config --libs` `baltisot-config --libs`
+CDTOOL_LDFLAGS=`baltisot-config --libs`
CXX=g++
#SUBDIRS = psxdev lib Xenogears VP MegamanX5
@@ -23,7 +24,7 @@ yazedc: yazedc-main.o lib/lib.a Makefile
${CXX} yazedc-main.o lib/lib.a -DYAZEDC_MAIN -o yazedc ${LDFLAGS}
cd-tool: includes/cdutils.h includes/yazedc.h cd-tool.o lib/lib.a Makefile
- ${CXX} cd-tool.o lib/lib.a -o cd-tool ${LDFLAGS}
+ ${CXX} cd-tool.o lib/lib.a -o cd-tool ${CDTOOL_LDFLAGS}
dte-tool: includes/dte.h dtemain.o lib/lib.a Makefile
${CXX} dtemain.o lib/lib.a -o dte-tool ${LDFLAGS}