From 80bc109350c9d7d49083c0b92b13df3bd3326477 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Thu, 19 Sep 2024 18:10:46 +0100 Subject: Fix info var output & remove verbose output for tests --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eea4ff8..e416223 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ all: test .PHONY: test test: $(test_bins) - for test in $(test_bins); do ./$$test --verbose; done + for test in $(test_bins); do ./$$test ; done .PHONY: clean clean: @@ -31,10 +31,10 @@ demo: $(bin_dir)/demo .PHONY: info info: - @printf "src_files: %s\n" $(src_files) - @printf "obj_files: %s\n" $(obj_files) - @printf "test_files: %s\n" $(test_files) - @printf "test_bins: %s\n" $(test_bins) + @printf "src_files: %s\n" "$(src_files)" + @printf "obj_files: %s\n" "$(obj_files)" + @printf "test_files: %s\n" "$(test_files)" + @printf "test_bins: %s\n" "$(test_bins)" # Make Directories $(obj_dir): @@ -44,7 +44,7 @@ $(bin_dir): mkdir $@ # Make object files -$(obj_dir)/%.o: $(src_dir)/%.c $(obj_dir) +$(obj_dir)/%.o: $(src_files) $(obj_dir) $(CC) $(CFLAGS) -o $@ -c $< # Make test binaries -- cgit