aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-12-04 17:17:03 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-12-04 17:26:54 +0200
commit36367557604575ffec9739e0a64e2f0cdff07e77 (patch)
tree548a58dd1fe817a190abc53018defd337634ba7c /rules.mk
parentRemove custom include paths in makefiles (diff)
downloadkernel-36367557604575ffec9739e0a64e2f0cdff07e77.tar.xz
Rename CCFLAGS to CFLAGS
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.mk b/rules.mk
index 1083874..ada9789 100644
--- a/rules.mk
+++ b/rules.mk
@@ -6,7 +6,7 @@ $(foreach V,$(filter %.SRCS, ${.VARIABLES}),\
)
# extra flags
-CCFLAGS += -isysteminclude -I../lib
+CFLAGS += -isysteminclude -I../lib
# Suffix rules
%.a:
@@ -20,11 +20,11 @@ CCFLAGS += -isysteminclude -I../lib
.S.o:
@echo ' CC $^'
- @$(CC) $(CCFLAGS) -c -o $@ $^
+ @$(CC) $(CFLAGS) -c -o $@ $^
.c.o:
@echo ' CC $^'
- @$(CC) $(CCFLAGS) -c -o $@ $^
+ @$(CC) $(CFLAGS) -c -o $@ $^
# Test rules
tst/test_%: tst/%.cc