summaryrefslogtreecommitdiff
path: root/Xenogears/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Xenogears/Makefile')
-rwxr-xr-xXenogears/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Xenogears/Makefile b/Xenogears/Makefile
index 61f4486..5fbefb7 100755
--- a/Xenogears/Makefile
+++ b/Xenogears/Makefile
@@ -3,6 +3,7 @@
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -I../includes -DHAVE_ZLIB
CXX=g++
CC=gcc
+LEX=flex
LIBS=-lz
#-lefence
@@ -35,10 +36,10 @@ compil-2: compil-2.o
${CC} ${LDFLAGS} compil-2.o -o compil-2
compil.c: compil.lex
- lex -ocompil.c compil.lex
+ ${LEX} -ocompil.c compil.lex
compil-2.c: compil-2.lex
- lex -ocompil-2.c compil-2.lex
+ ${LEX} -ocompil-2.c compil-2.lex
clean:
rm -f *.o ${TARGET} compil.c