https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: e8909486756fafd9e2038683caff66ee981635df authored by alex@thinkpad on 16 August 2018, 13:38:21 UTC
Merged unified into dm-spy-experiments
Tip revision: e890948
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