Re: [AD] New snapshots upped. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> so the 'g' i think might be needed. i haven't used sed a lot so i don't
> know for sure. the patch you supplied didn't help FYI. all i get is:
> sed: -e expression #1, char 7: Unterminated `s' command
> i use gnu sed 3.02.
This pattern doesn't exist both in makefile.mgw and makefile.vc, so I see no
reason why it should exist in makefile.bcc:
--- cvsroot/allegro/makefile.bcc Sun Mar 3 00:03:02 2002
+++ allegro/makefile.bcc Sun Mar 3 23:42:28 2002
@@ -501,8 +501,8 @@
depend:
gcc $(DEPEND_PARMS) demo/*.c docs/src/makedoc/*.c examples/*.c setup/*.c tests/*.c > _depend.tmp
gcc $(DEPEND_PARMS) tests/win/*.c tools/*.c tools/win/*.c tools/plugins/*.c >> _depend.tmp
- sed -e "s/\\/\//g" -e "s/\/$$/\\/" -e "s/^[a-zA-Z0-9_\/]*\///" -e "s/\.\// /g" _depend.tmp > _depend1.tmp
- sed -e "s/asmdef\.o/asmdef\.exe/" _depend1.tmp > _depend.tmp
+ sed -e "s/^[a-zA-Z0-9_\/]*\///" _depend.tmp > _depend2.tmp
+ sed -e "s/asmdef\.o/asmdef\.exe/" _depend2.tmp > _depend.tmp
ifdef UNIX_TOOLS
sed -e "s/^\([a-zA-Z0-9_]*\)\.o:/obj\/bcc32\/alleg\/\1\.obj:/" _depend.tmp > obj/bcc32/alleg/makefile.dep
sed -e "s/^\([a-zA-Z0-9_]*\)\.o:/obj\/bcc32\/alld\/\1\.obj:/" _depend.tmp > obj/bcc32/alld/makefile.dep
@@ -513,5 +513,5 @@
sed -e "s/^\([a-zA-Z0-9_]*\)\.o:/obj\/bcc32\/alld\/\1\.obj:/" _depend.tmp > obj\bcc32\alld\makefile.dep
sed -e "s/^\([a-zA-Z0-9_]*\)\.o:/obj\/bcc32\/allp\/\1\.obj:/" _depend.tmp > obj\bcc32\allp\makefile.dep
del _depend.tmp
- del _depend1.tmp
+ del _depend2.tmp
endif
Tested with DJGPP's gcc 2.95.3/sed 3.02 and Mingw32's gcc 2.95.3/sed 2.05 .
Commit it (trunk only) if it's ok for you.
--
Eric Botcazou
ebotcazou@xxxxxxxxxx