summaryrefslogtreecommitdiff
path: root/MegamanX5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'MegamanX5/Makefile')
-rwxr-xr-xMegamanX5/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/MegamanX5/Makefile b/MegamanX5/Makefile
index 831126c..2fb326d 100755
--- a/MegamanX5/Makefile
+++ b/MegamanX5/Makefile
@@ -1,16 +1,16 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I../includes
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I../includes `baltisot-config --cflags`
CXX=g++
LIBS=-lz
-LDFLAGS=${LIBS}
+LDFLAGS=${LIBS} `baltisot-config --libs`
TARGET = unarc
all: ${TARGET}
-unarc: unarc.o ../includes/generic.h Makefile
- ${CXX} ${LDFLAGS} unarc.o ../generic/generic.a -o unarc
+unarc: unarc.o Makefile
+ ${CXX} ${LDFLAGS} unarc.o -o unarc
clean:
rm -f *.o ${TARGET} compil.c