https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 4d44bfb1bdd728c77febca067f792b6be66875bd authored by alex@thinkpad on 11 August 2018, 07:06:34 UTC
Tasks: new method for checking whether an interrupt is active
Tip revision: 4d44bfb
Makefile
# Makefile for the various tools used in the build process

ifndef TOP_DIR
# if this is used as a standalone makefile, we need to include some additional stuff
TOP_DIR=..
include $(TOP_DIR)/Makefile.setup
XOR_CHK:=$(notdir $(XOR_CHK))
endif

$(XOR_CHK): $(XOR_CHK).c
	$(call build,XOR_CHK,$(HOST_CC) $< -o $@)

clean::
	$(call rm_files, $(XOR_CHK) $(XOR_CHK).exe)
back to top