https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: b1dd025e2be2d43f00a286972298f46ce74f645d authored by a1ex on 19 June 2016, 18:06:42 UTC
Close branch makefile.
Tip revision: b1dd025
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