From b5c9aec9a9725bac99f948dab8bececb43e414e1 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 26 Jul 2002 13:45:53 +0000 Subject: Updated the lex thingies --- Xenogears/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Xenogears/Makefile') diff --git a/Xenogears/Makefile b/Xenogears/Makefile index 65a1121..4fec754 100755 --- a/Xenogears/Makefile +++ b/Xenogears/Makefile @@ -2,8 +2,9 @@ CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -I../includes CXX=g++ +CC=gcc -TARGET = reinsert main_dump Decrypt script-comp script-dec XenoCD1.sqr XenoCD2.sqr +TARGET = reinsert main_dump Decrypt script-comp script-dec XenoCD1.sqr XenoCD2.sqr compil compil-2 all: ${TARGET} @@ -22,6 +23,18 @@ script-comp: script-comp.o ../includes/fileutils.h ../includes/generic.h ../incl script-dec: script-dec.o ../includes/fileutils.h ../includes/generic.h ../includes/lzss.h ../lib/lib.a ../generic/generic.a Makefile ${CXX} ${LDFLAGS} script-dec.o ../lib/lib.a ../generic/generic.a -o script-dec +compil: compil.o + ${CC} ${LDFLAGS} compil.o -o compil + +compil-2: compil-2.o + ${CC} ${LDFLAGS} compil-2.o -o compil-2 + +compil.c: compil.lex + lex -ocompil.c compil.lex + +compil-2.c: compil-2.lex + lex -ocompil-2.c compil-2.lex + clean: rm -f *.o ${TARGET} compil.c -- cgit v1.2.3