Implemented Basic OBJ file loading
This commit is contained in:
parent
a192d5f72e
commit
3934a87949
6 changed files with 11695 additions and 14 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue