~ chicken-core (chicken-5) 44a088ee35400ade174a321698d8102d4a7976fe


commit 44a088ee35400ade174a321698d8102d4a7976fe
Author:     Peter Bex <Peter.Bex@xs4all.nl>
AuthorDate: Sun Sep 5 21:11:19 2010 +0200
Commit:     Peter Bex <Peter.Bex@xs4all.nl>
CommitDate: Sun Sep 5 21:11:19 2010 +0200

    Clear all SUFFIXES. Remove SUFFIXES lines for Scheme code; they're only necessary for "old-fashioned suffix rules" (like ".c.o: blabla.h") and not for pattern rules (like "%o: %.c blablah.h")

diff --git a/rules.make b/rules.make
index 140fa2c0..fb4a5c14 100644
--- a/rules.make
+++ b/rules.make
@@ -27,6 +27,7 @@
 VPATH=$(SRCDIR)
 
 # Clear Make's default rules for C programs
+.SUFFIXES:
 %.o : %.c
 %: %.o
 
@@ -181,8 +182,6 @@ $(foreach obj, $(ALWAYS_STATIC_UTILITY_PROGRAM_OBJECTS_1),\
 
 # resource objects
 
-.SUFFIXES: .rc
-
 %.rc.o: %.rc
 	$(RC_COMPILER) $< $@
 
@@ -214,8 +213,6 @@ libchicken$(A): $(APPLY_HACK_OBJECT) $(LIBCHICKEN_STATIC_OBJECTS)
 
 # import libraries and extensions
 
-.SUFFIXES: .so
-
 %.so: %.o
 	$(HOST_LINKER) $(HOST_LINKER_OPTIONS) $(HOST_LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $^ $(HOST_LINKER_OUTPUT_OPTION) $@ \
 	  $(HOST_LINKER_LIBRARY_PREFIX)chicken$(HOST_LINKER_LIBRARY_SUFFIX) \
@@ -430,7 +427,6 @@ endif
 
 # bootstrapping c sources
 
-.SUFFIXES: .scm
 .SECONDARY: setup-api.import.scm setup-download.import.scm
 
 setup-api.import.scm: setup-api.c
Trap