https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 315c020b0f793d6da8f79b31b343e51d0cfc3492 authored by Alex on 11 March 2017, 12:06:58 UTC
Close branch pre-record
Tip revision: 315c020
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