summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cd471e4..19ce4e8 100755
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ TARGET = lzss dlzss cd-tool str-tool
all: subdirs ${TARGET}
subdirs:
- for d in ${SUBDIRS} ; do make -C $$d ; done
+ for d in ${SUBDIRS} ; do make -C $$d || exit -1 ; done
lzss: lzss.o lzss.h generic.o generic.h fileutils.h fileutils.o lzss-main.o Makefile
${CXX} ${LDFLAGS} -DLZSS_MAIN lzss.o generic.o fileutils.o lzss-main.o -o lzss
@@ -30,6 +30,6 @@ str-tool: str-util.o generic.h generic.o fileutils.o fileutils.h cdutils.o cduti
${CXX} ${LDFLAGS} str-util.o generic.o fileutils.o cdutils.o yazedc.o psxdev/bs.o psxdev/idctfst.o psxdev/jfdctint.o psxdev/vlc.o -o str-tool -lSDL
clean:
- for d in ${SUBDIRS} ; do make -C $$d clean ; done
+ for d in ${SUBDIRS} ; do make -C $$d clean || exit -1 ; done
rm -f *.o ${TARGET} compil.c