https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 492697e3a9e26b7331965af90793b8511bb75c88 authored by Alex on 29 March 2017, 16:30:08 UTC
Close branch task_name
Tip revision: 492697e
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
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