Re: [AD] patch for mingw makefile |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> What is odd is I don't have this problem on the same PC when I use the
> "make installall" for the VC. I really don't understand why it is doing
> what it is doing - the makefile syntax looks fine. May it possibly just be
> a `make' bug that we shouldn't worry about?
The only difference is that the equivalent rule in the MSVC makefile hasn't
got a dependency, but this is a recent addition (as of 4.0.2 IIRC).
> I've attached a simple patch in case anyone's interested. Obviously
> there's no need for it to be applied if I'm the only person in the world
> that has this problem or its just a weird `make' bug. :-/
I've applied this one instead:
--- c:/msys/home/eric/cvsroot/allegro/makefile.mgw 2002-09-13
09:18:20.000000000 +0000
+++ allegro/makefile.mgw 2002-09-13 11:16:38.000000000 +0000
@@ -293,7 +294,8 @@
copy include\winalleg.h $(MINGDIR_D)\include
$(MINGDIR_U)/include/allegro: $(MINGDIR_U)/include
- md $(MINGDIR_D)\include\allegro
+ -md $(MINGDIR_D)\include\allegro
+# workaround for a weird make problem
$(MINGDIR_U)/include/allegro/%.h: include/allegro/%.h
copy $(subst /,\,$< $@)
- Eric