made counting for register messages depending on a #define,
adapted makefile to make version with peephole optimizer library
This commit is contained in:
@@ -10,10 +10,15 @@ case $# in
|
||||
;;
|
||||
esac
|
||||
PW=`pwd`
|
||||
options=
|
||||
case $1 in
|
||||
main|emain)
|
||||
target=$PW/$1
|
||||
;;
|
||||
omain)
|
||||
target=$PW/$1
|
||||
options=-DPEEPHOLE
|
||||
;;
|
||||
Xlint)
|
||||
target=$1
|
||||
;;
|
||||
@@ -55,4 +60,4 @@ ed - $PW/makefile <<'EOF'
|
||||
w makefile
|
||||
q
|
||||
EOF
|
||||
make EMHOME=$EMHOME CURRDIR=$PW $target
|
||||
make EMHOME=$EMHOME COPTIONS=$options CURRDIR=$PW $target
|
||||
|
||||
Reference in New Issue
Block a user