v4ld3r5 / sgdk_vscode_template

Basic template to work with VS Code on a SGDK project
16 stars 5 forks source link

Make issue when building sample hello world #2

Open bytehigh opened 4 years ago

bytehigh commented 4 years ago

Initial compilation seems to work ok: gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -Wno-main -Wno-unused-parameter -fno-builtin -Iinc -Isrc -Ires -Ic:/sgdk/inc -Ic:/sgdk/res -Bc:/sgdk/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -MMD -c src/main.c -o out/src/main.o

But then I get a make issue: make: *** No rule to make target src/boot/rom_head.c/main.c', needed byout/src/boot/rom_head.c/main.o'. Stop

Which doesn't look right?

v4ld3r5 commented 4 years ago

Hi @bytehigh, Thanks for having a look. Seems the makefile messed things up as that target doesn't look good.

Honestly I'm not using this anymore, instead I changed my work environment. I suggest to give this toolchain a try: https://github.com/andwn/marsdev For vscode I discovered a very nice plugin: https://marketplace.visualstudio.com/items?itemName=zerasul.genesis-code

I'd probably archive this toy project. Kind regards