Skip to content

Commit

Permalink
A few fixes to make work on github CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Sep 9, 2024
1 parent ec21d7f commit a2afa77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export ACKCFLAGS = -O3
export OBJ = .obj

.PHONY: all
Expand Down
4 changes: 2 additions & 2 deletions third_party/zmac/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ def zmac(
archflag += " --dri"
outfile = f"={self.localname}{ext}"

hdrflags = [f"-I{dirname(f)}" for f in filenamesof(deps)]
hdrflags = " ".join([f"-I{dirname(f)}" for f in filenamesof(deps)])

simplerule(
replaces=self,
ins=[src, "third_party/zmac"] + deps,
outs=[f"={self.localname}{ext}"],
commands=[
f"{{ins[1]}} --nmnv --zmac -m {relflag} {archflag} {" ".join(hdrflags)} -o {{outs[0]}} {{ins[0]}}"
f"{{ins[1]}} --nmnv --zmac -m {relflag} {archflag} {hdrflags} -o {{outs[0]}} {{ins[0]}}"
],
label="ZMAC",
)
Expand Down

0 comments on commit a2afa77

Please sign in to comment.