https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 3c8ed7d6cda1a2c21294add1866d7d3f47dc0941 authored by alex@thinkpad on 24 September 2018, 10:00:01 UTC
io_trace: fix crash with CONFIG_QEMU
Tip revision: 3c8ed7d
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