nes-proj/Makefile.identify-target
2018-08-31 11:04:37 +02:00

17 lines
493 B
Makefile

# This Makefile can be used to identify the selected TARGET used for a
# specific build. It can be included by example Makefiles that need to take
# decisions based on TARGET. It is also automatically included by the
# top-level Makefile.include.
ifeq ($(TARGET),)
-include Makefile.target
ifeq ($(TARGET),)
${info TARGET not defined, using target 'native'}
TARGET=native
else
${info using saved target '$(TARGET)'}
endif
else
${info using set target '$(TARGET)'}
endif