summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4fb7a1c..bffc51c 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ endif
all: obj/$(BINARY)
obj/$(BINARY): $(<<objects>>)
- $(<<) "LINK\t" $(^:obj/%=%)
+ $(<<) " LD\t"-o $(@) $(LDFLAGS)"\t"$(^:obj/%=%)
@$(CC) $(^) -o $(@) $(LDFLAGS)
clean: clean-objs clean-tests
@@ -62,7 +62,7 @@ clean-objs:
test: $(<<results>>)
obj/%.o: src/%.c
- $(<<) " CC\t" $(<:src/%=%)
+ $(<<) " CC\t"$(CFLAGS)"\t"$(<:src/%=%)
@mkdir -p $(shell dirname $(@))
@$(CC) -c $(<) -o $(@) $(CFLAGS)