aboutsummaryrefslogtreecommitdiff
path: root/i686/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'i686/Makefile')
-rw-r--r--i686/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/i686/Makefile b/i686/Makefile
index 52295a8..e77f1c6 100644
--- a/i686/Makefile
+++ b/i686/Makefile
@@ -1,5 +1,4 @@
include ../${ARCH}/toolchain.mk
-include ../rules.mk
CCFLAGS += -I../grub/include
@@ -8,10 +7,6 @@ all: arch.a
arch,SRCS = boot.S init.s \
gdt.c lgdt.c \
lidt.c
-arch,OBJS = $(filter %.o,$(arch,SRCS:%.S=%.o) $(arch,SRCS:%.s=%.o) $(arch,SRCS:%.c=%.o))
-arch.a: ${arch,OBJS}
- @echo ' AR $@'
- @${AR} ${ARFLAGS} $@ $^
-clean:
- @rm -rf ${arch,OBJS}
+include ../rules.mk
+