jdah / jdh-8

An 8-bit minicomputer with a fully custom architecture
MIT License
1.29k stars 89 forks source link

Make doesn't work on first run #30

Closed rmccampbell closed 2 years ago

rmccampbell commented 2 years ago

The "asm" make command depends on the generated builtin_macros.c, which isn't listed in the ASM_OBJ on the first run. This causes make to generate a linker error. When run a second time builtin_macros.c is collected in ASM_SRC and ASM_OBJ which causes it to build successfully.

jdah commented 2 years ago

Fixed in 77507880c57f5f966ba6d9c6a612097910e0dcad :)