Implemented Basic OBJ file loading

This commit is contained in:
cannoli-fruit 2026-07-28 21:58:41 -04:00
commit 3934a87949
6 changed files with 11695 additions and 14 deletions

View file

@ -27,7 +27,7 @@ targets = {
for f in p:lines() do
base = f:match("([^/]+)%.c$")
obj = "build/"..base..".o"
cc = "cc -c '"..f.."' -o '"..obj.."'"
cc = "cc -I./Lazyc -c '"..f.."' -o '"..obj.."' -ggdb"
e,h,c = os.execute(cc)
if c ~= 0 and c ~= nil then
print("Compilation Error")