premake/website/docs/makesettings.md

35 lines
502 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Adds arbitrary GNU make markup to a generated Makefile.
```lua
makesettings { "values" }
```
Only used for makefile generating actions.
### Parameters ###
`values` specifies one or more lines to be written to the Makefile.
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### Examples ###
```lua
makesettings [[
ifeq ($(strip $(DEVKITPPC)),)
$(error "DEVKITPPC environment variable is not set")'
endif
include $(DEVKITPPC)/wii_rules'
]]
```