Page 1 of 1

How Do I Use a Makefile?

Posted: 15 Jun 2020 12:02
by TrainLover
I downloaded the makefile from OpenTTDCoopDevRepository and am using make && make install for a NewGRF. I changed the config to be:

# Definition of the grfs
REPO_NAME ?= North American Passenger Liveries

# This is the filename part common to the grf file, main source file and the tar name
BASE_FILENAME ?= NAPL

# Documentation files
DOC_FILES ?= docs/readme.txt docs/license.txt docs/changelog.txt

# Possible offset to NewGRF version. Increase by one, if a release
# branch is added to the repository
REPO_BRANCH_VERSION ?= 0

# Directory structure
SCRIPT_DIR ?= scripts

# Uncomment in order to make use of gimp scripting. See the file
# for a description of the format
GFX_SCRIPT_LIST_FILES := gfx/png_source_list

# If needed, declare the minimum NML requirements
# REQUIRED_NML_BRANCH = 0.4
# MIN_NML_REVISION = 0

Do I need to set up anything in WindowsPowerShell before I can use it?