1
0
ソースを参照

Removed references to Parser.js in jtalkc and Makefile

Nicolas Petton 13 年 前
コミット
66272771c4
2 ファイル変更5 行追加10 行削除
  1. 1 1
      bin/jtalkc
  2. 4 9
      st/Makefile

+ 1 - 1
bin/jtalkc

@@ -111,7 +111,7 @@ fi
 # Define our predefined library combinations
 BOOT="boot"
 KERNEL="$BOOT Kernel"
-COMPILER="$KERNEL Parser parser Compiler"
+COMPILER="$KERNEL parser Compiler"
 CANVAS="$KERNEL Canvas"
 JQUERY="$CANVAS JQuery"
 IDE="$JQUERY IDE SUnit Examples"

+ 4 - 9
st/Makefile

@@ -12,7 +12,7 @@ JTALKC	:= ../bin/jtalkc
 FLAGS   := -d
 
 # All corresponding js filenames for every st file available
-# In other words, if we have Kernel.st and Parser.st, then OBJECTS will be "Kernel.js Parser.js"
+# In other words, if we have Kernel.st and Compiler.st, then OBJECTS will be "Kernel.js Compiler.js"
 OBJECTS := $(patsubst %.st,%.js,$(wildcard *.st))
 
 # Default make target since it is the first target in this Makefile
@@ -30,14 +30,9 @@ boot.js init.js:
 Kernel.js: Kernel.st boot.js init.js
 	$(JTALKC) $(FLAGS) $<
 
-# ...then Parser, but using the new Kernel from step above.
-# We only need to depend on Kernel.js since it in turn depends on boot.js and init.js.
-Parser.js: Parser.st Kernel.js
-	$(JTALKC) $(FLAGS) $<
-
-# ...and Compiler, but using the new Parser and Kernel from above.
-# We only need to depend on Parser.js since it in turn depends on Kernel.js, boot.js etc
-Compiler.js: Compiler.st Parser.js
+# ...and Compiler, but using the new Kernel from above.
+# We only need to depend on Kernel.js since it in turn depends on Kernel.js, boot.js etc
+Compiler.js: Compiler.st Kernel.js
 	$(JTALKC) $(FLAGS) $<
 
 # ...now that we have a new Kernel/Parser/Compiler we use them