https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 5760f9020e210c8b34b619cb2c37e638002ee353 authored by Daniel Fort on 20 January 2019, 00:20:47 UTC
Closed branch crop_rec_4k_5D2
Tip revision: 5760f90
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