summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <Pixel>2002-06-10 22:45:58 +0000
committerPixel <Pixel>2002-06-10 22:45:58 +0000
commita1816e86413195396000e33f86742960471f7369 (patch)
treef7b7ec6beb8ae69b841a7b851cc2f065bc734da7
parent759366a5b52a6d054ccbc203ef419be3f9f610ba (diff)
Some more typos and fixes...
-rwxr-xr-xXenogears/Makefile11
-rw-r--r--Xenogears/script-comp.cpp1
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"