summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-06-24 11:56:03 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-06-24 11:56:03 -0400
commit1e408524f0371ea286ce93a087e3dd5d0f9fd4af (patch)
treefebdd06ece4056cd4af0b0138d1fa1f4f5c2a97f /tests/Makefile
parent0da3c59e7b1104b2d677d0ce3b2d181498e80826 (diff)
Suppress most makefile commands
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 0b25a68..909b750 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -11,17 +11,19 @@ out_files := $(src_files:.tnsl=.out)
all: outdir $(out_files)
%.asm: %.tnsl
- ../ctc $< $(obj_dir)/$@
+ @../ctc $< $(obj_dir)/$@
%.o: %.asm
- nasm -f elf64 -o $(obj_dir)/$@ $(obj_dir)/$<
+ @nasm -f elf64 -o $(obj_dir)/$@ $(obj_dir)/$<
%.out: %.o
- gcc -o $(out_dir)/$@ $(obj_dir)/$<
+ @gcc -o $(out_dir)/$@ $(obj_dir)/$<
+ @echo "Built $(out_dir)/$@"
outdir:
- mkdir -p $(out_dir)
- mkdir -p $(obj_dir)
+ @mkdir -p $(out_dir)
+ @mkdir -p $(obj_dir)
+ @echo "Created output directories"
clean:
rm -rf out/*