aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-12 18:39:39 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-12 18:39:39 +0200
commitfbc736463f2ca2f5dbf1b7c412f408245e61df97 (patch)
tree84a66eabc5e3be2191ae0d5d1e0ff33d05515b4a /rules.mk
parentAdd unit tests for C drivers (diff)
downloadkernel-fbc736463f2ca2f5dbf1b7c412f408245e61df97.tar.xz
Revert VGA C driver
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/rules.mk b/rules.mk
index 5d73051..e217d6d 100644
--- a/rules.mk
+++ b/rules.mk
@@ -74,9 +74,6 @@ ${ARCH}_CXXFLAGS += -I../lib/libk -Drestrict=__restrict__
%_${ARCH}.d: %.c
@${${ARCH}_CC} ${${ARCH}_CFLAGS} -M -MT $(<:.c=_${ARCH}.o) $< -MF $@
-%_${ARCH}.d: %.cpp
- @${${ARCH}_CXX} ${${ARCH}_CXXFLAGS} -M -MT $(<:.cpp=_${ARCH}.o) $< -MF $@
-
# Host dependency rules
%.d: %.c
@${HOST_CC} ${HOST_CFLAGS} -M -MT $(<:.c=.o) $< -MF $@
@@ -101,10 +98,6 @@ ${ARCH}_CXXFLAGS += -I../lib/libk -Drestrict=__restrict__
@echo ' CC $<'
@${${ARCH}_CC} ${${ARCH}_CFLAGS} -c -o $@ $<
-%_${ARCH}.o: %.cpp
- @echo ' CXX $<'
- @${${ARCH}_CXX} ${${ARCH}_CXXFLAGS} -c -o $@ $<
-
%.elf:
@echo ' LD $@'
@${${ARCH}_LD} ${${ARCH}_LDFLAGS} -o $@ $^