https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: db6ca7373104cfc5fe33508c57409695cebf6207 authored by Daniel Fort on 04 July 2018, 20:10:29 UTC
Merged unified into update-to-550D.110
Tip revision: db6ca73
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