Mercurial > hg > Members > anatofuz > MoarVM
diff build/Makefile.in @ 47:d385af306a13
Fix Makefile.in for cbc build
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 09 Dec 2018 11:28:04 +0900 |
parents | 2cf249471370 |
children |
line wrap: on
line diff
--- a/build/Makefile.in Sat Dec 08 22:57:55 2018 +0900 +++ b/build/Makefile.in Sun Dec 09 11:28:04 2018 +0900 @@ -82,6 +82,7 @@ src/core/args@obj@ \ src/core/exceptions@obj@ \ src/core/interp@obj@ \ + src/core/cbc-interp@obj@ \ src/core/threadcontext@obj@ \ src/core/compunit@obj@ \ src/core/bytecode@obj@ \ @@ -242,6 +243,7 @@ src/core/args.h \ src/core/exceptions.h \ src/core/interp.h \ + src/core/oplables-cbc-codes.h \ src/core/alloc.h \ src/core/vector.h \ src/core/frame.h \ @@ -475,7 +477,7 @@ DYNASM_SCRIPTS = 3rdparty/dynasm/dynasm.lua 3rdparty/dynasm/dasm_x86.lua DYNASM_HEADERS = 3rdparty/dynasm/dasm_proto.h 3rdparty/dynasm/dasm_x86.h -.SUFFIXES: .c @obj@ .i @asm@ .dasc .expr .tile +.SUFFIXES: .c .cbc @obj@ .i @asm@ .dasc .expr .tile all: moar@exe@ pkgconfig/moar.pc @@ -585,6 +587,18 @@ $(MSG) compiling $@ $(CMD)$(CC) @ccswitch@ $(CFLAGS) @objflags@ $(CINCLUDES) @ccout@$@ $*.c +.cbc.i: + $(MSG) pre-processing $@ + $(CMD)$(CC) @cppswitch@ $(CFLAGS) @objflags@ $(CINCLUDES) @cppout@$@ $*.cbc + +.cbc@asm@: + $(MSG) generating assembler for $@ + $(CMD)$(CC) @asmswitch@ $(CFLAGS) @objflags@ $(CINCLUDES) @asmout@$@ $*.cbc + +.cbc@obj@: + $(MSG) compiling $@ + $(CMD)$(CC) @ccswitch@ $(CFLAGS) @objflags@ $(CINCLUDES) @ccout@$@ $*.cbc + src/main@obj@: src/main.c $(MSG) compiling $@