Fix some build issues when using the make build backend.
This commit is contained in:
		
							parent
							
								
									5b554e8e6e
								
							
						
					
					
						commit
						baff578256
					
				
					 6 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -225,7 +225,7 @@ definerule("cprogram",
 | 
			
		|||
		commands = {
 | 
			
		||||
			type="strings",
 | 
			
		||||
			default={
 | 
			
		||||
				"$(CC) $LDFLAGS -o %{outs[1]} %{ins} %{ins}"
 | 
			
		||||
				"$(CC) $(LDFLAGS) -o %{outs[1]} %{ins} %{ins}"
 | 
			
		||||
			},
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,7 +78,7 @@ for _, plat in ipairs({"cpm"}) do
 | 
			
		|||
			},
 | 
			
		||||
			outleaves = { n..".s" },
 | 
			
		||||
			commands = {
 | 
			
		||||
				"$LUA %{ins[1]} <%{ins[2]} >%{outs}"
 | 
			
		||||
				"$(LUA) %{ins[1]} <%{ins[2]} >%{outs}"
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,7 @@ normalrule {
 | 
			
		|||
	},
 | 
			
		||||
	outleaves = { "em_codeEK.h" },
 | 
			
		||||
	commands = {
 | 
			
		||||
		"$LUA %{ins[1]} < %{ins[3]} > %{outs}",
 | 
			
		||||
		"$(LUA) %{ins[1]} < %{ins[3]} > %{outs}",
 | 
			
		||||
		"cat %{ins[4]} >> %{outs}"
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ for _, f in ipairs(GENFILES) do
 | 
			
		|||
			"h+emheaders"
 | 
			
		||||
		},
 | 
			
		||||
		commands = {
 | 
			
		||||
			"$LUA %{ins[1]} < %{ins[3]} > %{outs}"
 | 
			
		||||
			"$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,7 @@ normalrule {
 | 
			
		|||
	},
 | 
			
		||||
	outleaves = "C_mnem_narg.h",
 | 
			
		||||
	commands = {
 | 
			
		||||
		"$LUA %{ins[1]} < %{ins[3]} > %{outs}"
 | 
			
		||||
		"$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
	
 | 
			
		||||
| 
						 | 
				
			
			@ -20,7 +20,7 @@ normalrule {
 | 
			
		|||
	},
 | 
			
		||||
	outleaves = "C_mnem.h",
 | 
			
		||||
	commands = {
 | 
			
		||||
		"$LUA %{ins[1]} < %{ins[3]} > %{outs}"
 | 
			
		||||
		"$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
	
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,7 +18,7 @@ normalrule {
 | 
			
		|||
	},
 | 
			
		||||
	outleaves = { "enterkeyw.c" },
 | 
			
		||||
	commands = {
 | 
			
		||||
		"$LUA %{ins[1]} < %{ins[2]} > %{outs[1]}"
 | 
			
		||||
		"$(LUA) %{ins[1]} < %{ins[2]} > %{outs[1]}"
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue