From a98665c0c9910600c529c7f18382a0dc66e4d290 Mon Sep 17 00:00:00 2001 From: "John W. Linville" Date: Sat, 3 Feb 2018 14:27:53 -0500 Subject: [PATCH] Add Makefile for easier builds Also add .gitignore file with appropriate contents... --- .gitignore | 2 ++ Makefile | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7cb94e67eb25 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +boot.trk +cocozip.img diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..aef8884845d0 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +.PHONY: all clean + +TARGETS=boot.trk cocozip.img + +ZIPSRC=bugger.src disk.src dispatch.src ioprims.src main.src \ + mainsubs.src objects.src ops0.src ops1.src ops2.src opsx.src \ + paging.src read.src screen.src warm.src zequates.src zstring.src + +all: $(TARGETS) + +boot.trk: boot.src + lwasm -9 -l -f raw -o $@ $< + +cocozip.img: cocozip.src $(ZIPSRC) + lwasm -9 -l -f raw -o $@ $< + +clean: + rm -f $(TARGETS) -- 2.13.6