chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] remove "compile-all" makefile target


From: Felix
Subject: [Chicken-hackers] [PATCH] remove "compile-all" makefile target
Date: Mon, 19 Sep 2011 13:13:18 +0200 (CEST)

Removes broken makefile target "compile-all", since the "compile-all"
script in the "scripts" directory does the same.

This patch is also available as commit 93ccf52cf in the "felix-pending"
branch.
commit 93ccf52cff6177ddbd6088b22f25856b3ea56484
Author: felix <address@hidden>
Date:   Mon Sep 19 12:58:01 2011 +0200

    Removes broken makefile target "compile-all", since the "compile-all" script
    in the "scripts" directory does the same.
    
    Squashed commit of the following:
    
    commit 570450c2facd4ab8df3a2c6feccea64f2e5f0a36
    Author: felix <address@hidden>
    Date:   Fri Sep 16 23:51:19 2011 +0200
    
        removed compile-all target (slightly broken and redundant)
    
    commit ca1e09d8dfa3be167d210cc72e039cc46116fb1a
    Author: felix <address@hidden>
    Date:   Fri Sep 16 23:51:38 2011 +0200
    
        tiny fix in compile-all script

diff --git a/rules.make b/rules.make
index 9593558..bd20772 100644
--- a/rules.make
+++ b/rules.make
@@ -684,17 +684,3 @@ ifdef WINDOWS_SHELL
 else
        touch *.scm
 endif
-
-
-# compile all core modules (for testing)
-
-.PHONY: compile-all
-
-COMPILE_ALL_FILES = $(LIBCHICKEN_SCHEME_OBJECTS_1) $(COMPILER_OBJECTS_1)
-
-# use EXTRA_CHICKEN_OPTIONS to test particular compiler options:
-compile-all:
-       @for x in $(COMPILE_ALL_FILES:=.scm); do \
-         echo "$(CHICKEN) $$x $(CHICKEN_LIBRARY_OPTIONS)"; \
-         $(CHICKEN) $$x $(CHICKEN_LIBRARY_OPTIONS) -output-file out.c || exit 
1; \
-       done
diff --git a/scripts/compile-all b/scripts/compile-all
index b9acc4d..3d8c9ee 100755
--- a/scripts/compile-all
+++ b/scripts/compile-all
@@ -17,5 +17,5 @@ for x in library eval data-structures ports files extras 
lolevel utils tcp srfi-
 done
 
 for x in chicken batch-driver compiler optimizer compiler-syntax scrutinizer 
unboxing support c-platform c-backend; do
-    $compiler $x.scm $library_options -output-file /tmp/xxx.c "$@"
+    $compiler $x.scm $compiler_options -output-file /tmp/xxx.c "$@"
 done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]