jserv / amacc

Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
Other
1.01k stars 159 forks source link

make: prevent the case of recipe for target failed #15

Closed gapry closed 8 years ago

gapry commented 8 years ago

let it can execute tests/hello.c

jserv commented 8 years ago

What kind of problem do you exactly wish to resolve? I would expect the improvements over existing test suite.

gapry commented 8 years ago

Without the patch, you will see the following error messages

[gapry@E130 amacc]$ make check   
could not open(elf/amacc)
Makefile:29: recipe for target 'elf/amacc' failed
make: *** [elf/amacc] Error 255

it can not execute test-suite.

gapry commented 8 years ago

Is the problem no meanless as I solve the ELF loader ? That means, do you prefer I solve the ELF32 Loader directly?

gapry commented 8 years ago

@jserv I have update the context of PR commit: https://github.com/jserv/amacc/pull/15/commits/6ec472ddf948103f46599edf6c6e0c546839c4df

the commit make sure the elf directory is created or is deleted

gapry commented 8 years ago

it duplicates PR #17