Inline input_file declaration into sdlObj target
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
66b2262676
commit
8072a56f7c
+1
-5
@@ -52,12 +52,8 @@ def sdlDeps : List GitDep := [sdlDep, sdlImageDep, sdlTtfDep, sdlMixerDep]
|
||||
-- TODO: at some point, we should figure out a better way to set the C compiler
|
||||
def compiler := if Platform.isWindows then "gcc" else "cc"
|
||||
|
||||
input_file sdlSrc where
|
||||
path := "c" / "sdl.c"
|
||||
text := true
|
||||
|
||||
target sdlObj pkg : FilePath := do
|
||||
let srcJob ← sdlSrc.fetch
|
||||
let srcJob ← inputTextFile (pkg.dir / "c" / "sdl.c")
|
||||
let oFile := pkg.buildDir / "c" / "sdl.o"
|
||||
|
||||
let leanInclude := <- getLeanIncludeDir
|
||||
|
||||
Reference in New Issue
Block a user