HCoop
/
jackhill
/
mal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4152b5
)
Add clean target
author
Ben Dudson
<bd512@york.ac.uk>
Wed, 3 Jan 2018 15:43:22 +0000
(15:43 +0000)
committer
Ben Dudson
<bd512@york.ac.uk>
Wed, 3 Jan 2018 15:43:22 +0000
(15:43 +0000)
Deletes executables and object files
nasm/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/nasm/Makefile
b/nasm/Makefile
index
9ec65de
..
bb690ea
100644
(file)
--- a/
nasm/Makefile
+++ b/
nasm/Makefile
@@
-3,6
+3,7
@@
STEPS = step0_repl step1_read_print step2_eval step3_env step4_if_fn_do step5_tc
COMPONENTS = env.asm core.asm reader.asm printer.asm types.asm system.asm exceptions.asm
+
all: $(STEPS)
%.o: %.asm $(COMPONENTS)
@@
-11,6
+12,10
@@
all: $(STEPS)
%: %.o
ld -o $@ $<
+.PHONY: clean
+clean:
+ rm -f $(STEPS) $(STEPS:%=%.o)
+
######################
SOURCES_BASE = reader.asm printer.asm types.asm system.asm exceptions.asm