SAIFIINDUSTRIES's picture
Add repo: GideonZ_1541ultimate
c7436b1 verified
Raw
History Blame
1.37 kB
#
# Makefile for 1541 Ultimate Project
#
# This Makefile requires GNU make
#
# --------------------------------------------------------------------------
SHELL = /bin/bash
MAKEFILE = Makefile
# Core information
CC = gcc
CFLAGS = -std=c99
# --------------------------------------------------------------------------
# Compiling
%: %.c
@echo $@
@$(CC) $(CFLAGS) $^ -o $(basename $@)
# --------------------------------------------------------------------------
# Binaries
.PHONY: all clean
all: bin2hex hex2bin make_array make_mem makeappl promgen checksum dump_vcd dump_bus_trace dump_rtos_trace swap svf_dump
ifneq ($(SYSTEMDRIVE), C:)
# echo $(SYSTEMDRIVE)
@$(MAKE) -C 64tass
endif
clean:
@rm -f bin2hex
@rm -f hex2bin
@rm -f make_array
@rm -f make_mem
@rm -f makeappl
@rm -f promgen
@rm -f checksum
@rm -f swap
@rm -f svf_dump
@rm -f dump_vcd
@rm -f dump_bus_trace
@rm -f dump_rtos_trace
@rm -f bin2hex.exe
@rm -f hex2bin.exe
@rm -f make_array.exe
@rm -f make_mem.exe
@rm -f makeappl.exe
@rm -f promgen.exe
@rm -f checksum.exe
@rm -f dump_vcd.exe
@rm -f dump_rtos_trace.exe
@rm -f dump_bus_trace.exe
@rm -f swap.exe
@rm -f svf_dump.exe
@rm -f 64tass/64tass
@rm -f 64tass/*.o
svf_dump: ../software/application/tester/svf_player.c
@echo $@
@$(CC) ../software/application/tester/svf_player.c $(CFLAGS) -DDUMP -o $(basename $@)