diff options
-rwxr-xr-x | Xenogears/Makefile | 11 | ||||
-rw-r--r-- | Xenogears/script-comp.cpp | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/Xenogears/Makefile b/Xenogears/Makefile index 9f53b9a..e1768ae 100755 --- a/Xenogears/Makefile +++ b/Xenogears/Makefile @@ -3,7 +3,7 @@ CPPFLAGS=-Wall -g -I. -O3 -mcpu=i686 CXX=g++ -TARGET = lzss dlzss yazedc cd-tool reinsert main_dump XenoCD1.sqr XenoCD2.sqr +TARGET = lzss dlzss yazedc cd-tool reinsert main_dump Decrypt script-comp script-dec enoCD1.sqr XenoCD2.sqr all: ${TARGET} @@ -25,6 +25,15 @@ main_dump: main_dump.cpp cdutils.cpp cdutils.h fileutils.cpp fileutils.h generic reinsert: reinsert.cpp cdutils.cpp cdutils.h fileutils.cpp fileutils.h generic.cpp generic.h yazedc.cpp yazedc.h ${CXX} ${CPPFLAGS} ${LDFLAGS} reinsert.cpp cdutils.cpp fileutils.cpp yazedc.cpp generic.cpp -o reinsert +Decrypt: Decrypt.cpp fileutils.cpp fileutils.h generic.cpp generic.h + ${CXX} ${CPPFLAGS} ${LDFLAGS} Decrypt.cpp fileutils.cpp generic.cpp -o Decrypt + +script-comp: script-comp.cpp fileutils.cpp fileutils.h generic.cpp generic.h lzss.cpp lzss.h + ${CXX} ${CPPFLAGS} ${LDFLAGS} script-comp.cpp fileutils.cpp generic.cpp lzss.cpp -o script-comp + +script-dec: script-dec.cpp fileutils.cpp fileutils.h generic.cpp generic.h lzss.cpp lzss.h + ${CXX} ${CPPFLAGS} ${LDFLAGS} script-dec.cpp fileutils.cpp generic.cpp lzss.cpp -o script-dec + clean: rm -f *.o ${TARGET} compil.c diff --git a/Xenogears/script-comp.cpp b/Xenogears/script-comp.cpp index d01a13f..363c63c 100644 --- a/Xenogears/script-comp.cpp +++ b/Xenogears/script-comp.cpp @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include "lzss.h" #include "fileutils.h" |