Changeset 80


Ignore:
Timestamp:
Jun 21, 2014, 9:51:36 AM (8 years ago)
Author:
okuma-top
Message:

change VM composite name

Location:
HelloMruby/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • HelloMruby/trunk/HelloMruby.cdl

    r77 r80  
    8080};
    8181
    82 cell tPosixMrubyVM MrubyVMTask{
     82cell tPosixMrubyVmInTask MrubyVMTask{
    8383        cInit = VM_TECSInitializer.eInitialize;
    8484
  • HelloMruby/trunk/Makefile

    r77 r80  
    1313
    1414# 変数 #_MVAR_#
    15 # fixed variable (unchangeable by config or plugin)
    16 TARGET_BASE = HelloMruby
     15TARGET = HelloMruby.exe
     16TIMESTAMP = tecsgen.timestamp
     17TECSGEN_EXE = tecsgen
    1718BASE_DIR = .
     19CC = gcc
     20CFLAGS = -I $(BASE_DIR)/. -I $(TECSPATH)/../test/cygwin -I $(TECSPATH) -I $(TECSPATH)/mruby -I $(TECSPATH)/posix -I $(TECSPATH)/rpc -I $(MRUBYPATH)/include -I $(GEN_DIR) -D "Inline=static inline"
     21LD = gcc
     22LDFLAGS = -lmruby -L$(MRUBYPATH)/lib -lm
    1823GEN_DIR = $(BASE_DIR)/gen
    19 INCLUDES = -I $(BASE_DIR)/. -I $(TECSPATH)/../test/cygwin -I $(TECSPATH) -I $(TECSPATH)/mruby -I $(TECSPATH)/posix -I $(TECSPATH)/rpc -I $(MRUBYPATH)/include -I $(GEN_DIR)
    20 DEFINES =
    21 
    22 # end of fixed variable (unchangeable by config or plugin)
    23 #default C Compiler
    24 CC = gcc
    25 
    26 #default C Compiler options
    27 CFLAGS = $(INCLUDES) $(DEFINES) -D  "Inline=static inline"
    28 
    29 #default Liknker
    30 LD = gcc
    31 
    32 #default Liknker Options
    33 LDFLAGS = -lmruby -L ../lib
    34 
    35 #CHANGE this into suitable path
    36 MRUBYPATH = ..
    37 
    38 #default srource directory
    3924SRC_DIR = $(BASE_DIR)/src
    40 
    41 #default target name
    42 TARGET = $(TARGET_BASE).exe
    43 
    44 #default TECS generator
    45 TECSGEN_EXE = tecsgen
    46 # uncomment below if you don't have Ruby. work on only Windows
    47 # TECSGEN_EXE = tecsgen.exe
    48 
    49 #Time Stamp
    50 TIMESTAMP = tecsgen.timestamp
    51 
    52 #default relocatable object (.o) directory
    5325_TECS_OBJ_DIR = $(GEN_DIR)/
    54 
    55 
    56 
    57 # Pre-tecsgen target
     26#   _TECS_OBJ_DIR   # should end with '/'
    5827PRE_TECSGEN_TARGET =
    59 
    60 # Post-tecsgen target
    6128POST_TECSGEN_TARGET =
    6229
    63 # vpath for C sources and headers
    6430vpath %.c $(SRC_DIR) $(GEN_DIR)  $(TECSPATH)/../test/cygwin $(TECSPATH) $(TECSPATH)/mruby $(TECSPATH)/posix $(TECSPATH)/rpc $(MRUBYPATH)/include
    6531vpath %.h $(SRC_DIR) $(GEN_DIR)  $(TECSPATH)/../test/cygwin $(TECSPATH) $(TECSPATH)/mruby $(TECSPATH)/posix $(TECSPATH)/rpc $(MRUBYPATH)/include
    6632
    67 # Other objects (out of tecsgen)
    6833OTHER_OBJS =                      # Add objects out of tecs care.
    6934# OTHER_OBJS = $(_TECS_OBJ_DIR)vasyslog.o
     35
     36# Additional VARS
     37# CHANGE this into suitable path
     38MRUBYPATH = ..
     39
    7040# ルール #_MRUL_#
    7141allall: tecs
  • HelloMruby/trunk/MyMrubyVM.cdl

    r77 r80  
    1414
    1515[active]
    16 composite tPosixMrubyVM {
     16composite tPosixMrubyVmInTask {
    1717        [optional]
    1818                call nMruby::sInitializeBridge cInit;
Note: See TracChangeset for help on using the changeset viewer.