diff CbCMakefile @ 30:5942da44c289

Bugs: CbCGcc do normal call in goto codesegment
author anatofuz
date Sun, 04 Nov 2018 11:26:11 +0900
parents 72b2a81d544f
children
line wrap: on
line diff
--- a/CbCMakefile	Sun Nov 04 10:50:17 2018 +0900
+++ b/CbCMakefile	Sun Nov 04 11:26:11 2018 +0900
@@ -1,3 +1,4 @@
+# This makefile is dedicated to CbCgcc
 CC     = ${CBC_COMPILER}
 LD     = ${CBC_COMPILER}
 AR     = ar
@@ -622,11 +623,11 @@
 
 .cbc.i:
 	$(MSG) pre-processing $@
-	$(CMD)$(CC) -E $(CFLAGS) -DMVM_BUILD_SHARED -fPIC $(CINCLUDES) > $@ $*.c
+	$(CMD)$(CC) -E $(CFLAGS) -DMVM_BUILD_SHARED -fPIC $(CINCLUDES) > $@ $*.cbc
 
 .cbc.s:
 	$(MSG) generating assembler for $@
-	$(CMD)$(CC) -S $(CFLAGS) -DMVM_BUILD_SHARED -fPIC $(CINCLUDES) -o $@ $*.c
+	$(CMD)$(CC) -S $(CFLAGS) -DMVM_BUILD_SHARED -fPIC $(CINCLUDES) -o $@ $*.cbc
 
 
 .cbc.o: