URL
https://opencores.org/ocsvn/sc2v/sc2v/trunk
[/] [sc2v/] [trunk/] [src/] [Makefile] - Diff between revs 5 and 14
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 5 |
Rev 14 |
Line 13... |
Line 13... |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
#
|
#
|
# Cygwin
|
# Cygwin
|
#
|
#
|
#LEX = flex
|
LEX = flex
|
#YACC = bison -y
|
YACC = bison -y
|
#
|
#
|
# Linux
|
# Linux
|
#
|
#
|
LEX = lex
|
#LEX = lex
|
YACC = yacc
|
#YACC = yacc
|
|
|
all:
|
all:
|
|
$(LEX) sc2v_step1.l
|
|
$(YACC) -d sc2v_step1.y
|
|
gcc lex.yy.c y.tab.c sc2v_step1.c -Isrc -o ../bin/sc2v_step1 -lm
|
|
|
$(LEX) sc2v_step2.l
|
$(LEX) sc2v_step2.l
|
$(YACC) -d sc2v_step2.y
|
$(YACC) -d sc2v_step2.y
|
gcc lex.yy.c y.tab.c list.c -Isrc -o ../bin/sc2v_step2 -lm
|
gcc lex.yy.c y.tab.c sc2v_step2.c -Isrc -o ../bin/sc2v_step2 -lm
|
$(LEX) sc2v_step1.l
|
|
$(YACC) -d sc2v_step1.y
|
|
gcc lex.yy.c y.tab.c list.c -Isrc -o ../bin/sc2v_step1 -lm
|
|
$(LEX) sc2v_step3.l
|
$(LEX) sc2v_step3.l
|
$(YACC) -d sc2v_step3.y
|
$(YACC) -d sc2v_step3.y
|
gcc lex.yy.c y.tab.c list.c -Isrc -o ../bin/sc2v_step3 -lm
|
gcc lex.yy.c y.tab.c -Isrc -o ../bin/sc2v_step3 -lm
|
|
|
clean:
|
clean:
|
|
|
rm -rf lex.* y.* *.o ../bin/sc2v_step2* ../bin/sc2v_step1* ../bin/sc2v_step3*
|
rm -rf lex.* y.* *.o ../bin/sc2v_step2* ../bin/sc2v_step1* ../bin/sc2v_step3*
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.