aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 01b7bb4..6ded896 100644
--- a/makefile
+++ b/makefile
@@ -24,7 +24,7 @@ clean:
rm -f *.o out.hex a.out compile_commands.json
a.out: $(OBJECTS)
- $(CC) $(OBJECTS) $(LDFLAGS)
+ $(CC) $(OBJECTS) $(CFLAGS) $(LDFLAGS)
.o:
$(CC) -c $(CFLAGS) $<