diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-10-29 11:26:44 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-10-29 11:26:44 +0300 |
commit | c4fcc92183c55db868d0d6ae53e6009fb2e53ee5 (patch) | |
tree | ad5ef50aa07465e11f779c4482e20e6071182e9c /rules.mk | |
parent | makefile: add libk target (diff) | |
download | kernel-c4fcc92183c55db868d0d6ae53e6009fb2e53ee5.tar.xz |
makefile: add i686/arch.a target
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk new file mode 100644 index 0000000..113794b --- /dev/null +++ b/rules.mk @@ -0,0 +1,13 @@ +.SUFFIXES: .s .S .c .o +.s.o: + @echo ' CC $^' + @$(AS) $(ASFLAGS) -c -o $@ $^ + +.S.o: + @echo ' CC $^' + @$(CC) $(CCFLAGS) -c -o $@ $^ + +.c.o: + @echo ' CC $^' + @$(CC) $(CCFLAGS) -c -o $@ $^ + |