Removed all those ../../.. references

This commit is contained in:
ceriel 1987-01-26 16:35:04 +00:00
parent 640f958d26
commit 0991948d3e
3 changed files with 7 additions and 7 deletions

View file

@ -18,18 +18,18 @@ em_code.3: em_code.3X
tbl < em_code.3X > em_code.3 tbl < em_code.3X > em_code.3
libeme.a: make.sh e/em_private.h e/em.c libeme.a: make.sh e/em_private.h e/em.c
sh make.sh e EMHOME=$(EMHOME); export EMHOME; sh make.sh e
-sh -c 'ranlib libeme.a' -sh -c 'ranlib libeme.a'
libemk.a: make.sh k/em_private.h k/em.c libemk.a: make.sh k/em_private.h k/em.c
sh make.sh k EMHOME=$(EMHOME); export EMHOME; sh make.sh k
-sh -c 'ranlib libemk.a' -sh -c 'ranlib libemk.a'
make.sh: em.gen em.nogen make.sh: em.gen em.nogen
make.fun em.gen em.nogen | sh make.fun em.gen em.nogen | sh
em.gen: make.em.gen $(EMHOME)/etc/em_table em.gen: make.em.gen $(EMHOME)/etc/em_table
make.em.gen > em.gen make.em.gen $(EMHOME)/etc/em_table > em.gen
pr: pr:
@pr Makefile make.em.gen make.fun em.nogen e/em_private.h e/em.c k/em_private.h k/em.c @pr Makefile make.em.gen make.fun em.nogen e/em_private.h e/em.c k/em_private.h k/em.c

View file

@ -1,5 +1,5 @@
echo '% this part is generated from ../../../etc/em_table at: ' `date` echo "% this part is generated from $1 at: " `date`
ed - ../../../etc/em_table <<'EOI' ed - $1 <<'EOI'
1,/^$/d 1,/^$/d
1,/^$/d 1,/^$/d
1,$s/^\(...\) \(.\).*/\1:\2/ 1,$s/^\(...\) \(.\).*/\1:\2/

View file

@ -33,14 +33,14 @@ g/^BODY/s/^BODY \(.*\)$/{\
--EOF--/ --EOF--/
1,/^END/-1p 1,/^END/-1p
1,/^END/d 1,/^END/d
g:^NAME:s:^NAME \(.*\)$:cc -c -O -I$1 -I../../h -I../../../h \1.c: g:^NAME:s:^NAME \(.*\)$:cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h \1.c:
1i 1i
cat >make.sh <<'--EOF--' cat >make.sh <<'--EOF--'
: script for making lib : script for making lib
rm -f *.o rm -f *.o
. .
$a $a
cc -c -O -I$1 -I../../h -I../../../h $1/em.c cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/em.c
mv em.o em$1.o mv em.o em$1.o
rm -f libem$1.a rm -f libem$1.a
ar rc libem$1.a *.o ar rc libem$1.a *.o