From d5e961cfe773904069e81bd20f5cd06de00923d7 Mon Sep 17 00:00:00 2001 From: Wei-ju Wu Date: Thu, 6 Nov 2014 13:29:42 -0800 Subject: [PATCH] added assembler targets to makefile and added Racket version of fdtool --- assembler/Makefile | 10 ++++++++-- fdtool/fdtool.rkt | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/assembler/Makefile b/assembler/Makefile index ca11895..7aa2270 100644 --- a/assembler/Makefile +++ b/assembler/Makefile @@ -1,10 +1,10 @@ ASM_FLAGS = -Fhunk -devpac -I/home/weiju/Development/NDK_3.9/Include/include_i ASM = vasmm68k_mot -all: test1 hello +all: test1 hello test2 clean: - rm -f test1 hello *.o + rm -f test1 test2 hello *.o test1: test1.o vlink -bamigahunk -o test1 -s test1.o @@ -12,6 +12,12 @@ test1: test1.o test1.o: test1.asm $(ASM) $(ASM_FLAGS) -o test1.o test1.asm +test2: test2.o + vlink -bamigahunk -o test2 -s test2.o + +test2.o: test2.asm + $(ASM) $(ASM_FLAGS) -o test2.o test2.asm + hello: hello.o vlink -bamigahunk -o hello -s hello.o diff --git a/fdtool/fdtool.rkt b/fdtool/fdtool.rkt index c089d50..74c59bc 100644 --- a/fdtool/fdtool.rkt +++ b/fdtool/fdtool.rkt @@ -1,4 +1,4 @@ -#lang racket +has#lang racket ;; This is the Racket version of fdtool.py ;; Writing the tool in a Lisp makes is easier to run it on ;; a classic Amiga