$^ is all dependencies (ie the .c and .h files in dyngen case).
Because there is only one .c file to compile, this patch will work in all cases.

Tristan.


diff -c -r1.136 Makefile
*** Makefile    24 Nov 2007 23:35:07 -0000      1.136
--- Makefile    26 Nov 2007 13:17:41 -0000
***************
*** 132,138 ****

  # dyngen host tool
  dyngen$(EXESUF): dyngen.c
!       $(HOST_CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -o $@ $^

  clean:
# avoid old build problems by removing potentially incorrect old files
--- 132,138 ----

  # dyngen host tool
  dyngen$(EXESUF): dyngen.c
!       $(HOST_CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -o $@ $<

  clean:
# avoid old build problems by removing potentially incorrect old files



Reply via email to