######################################################################################################### ## ## Name: Makefile ## Created: July 2019 ## Author(s): Philip Smart ## Description: ZPUTA - ZPU Test Application ## This makefile builds the zputa application the purpose of which is to provide ## experimental, test and monitoring tools for the ZPU and devices within the SoC. ## zputa more recently was upgraded to handle the K64F on the Teensy 3.5 board which is ## used as part of the tranZPUter SW project. The ZPU is used as part of the original ## tranZPUter project. ## ## Credits: ## Copyright: (c) 2019-2020 Philip Smart ## ## History: July 2019 - Initial Makefile created for template use. ## April 2020 - Split from the latest ZPUTA and added K64F logic to support the ## tranZPUter SW board. ## ## Notes: Optional component enables: ## USELOADB - The Byte write command is implemented in hw#sw so use it. ## USE_BOOT_ROM - The target is ROM so dont use initialised data. ## MINIMUM_FUNTIONALITY - Minimise functionality to limit code size. ## __SD_CARD__ - Add the SDCard logic. ## ######################################################################################################### ## This source file is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ## ## This source file is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . ######################################################################################################### ZPUTA_DIR = . ifeq ($(__K64F__),1) include $(ZPUTA_DIR)/Makefile.k64f else ifeq ($(__ZPU__),1) include $(ZPUTA_DIR)/Makefile.zpu else $(error Please run using __K64F__=1 or __ZPU__=1 according to target processor) endif