aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-11-02 21:05:43 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-11-02 21:05:43 +0200
commite5e0180a3a3c77665ec3a8f2a612190b8f8f2b08 (patch)
treebdb0dad879efb6eee112b39eccfadbac77d94df0 /src
parentAdd ps2_ctrl_8042 (diff)
downloadkernel-e5e0180a3a3c77665ec3a8f2a612190b8f8f2b08.tar.xz
makefile: make all target the default
Diffstat (limited to 'src')
-rw-r--r--src/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index 205c4e3..7b31c3c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,13 +2,13 @@ include ../Makefile.config
CCFLAGS += -I. -isystem../grub/include -I../${ARCH} -I../lib -I..
-conf.h: conf.h.in
- @cp conf.h.in conf.h
- @sed -i 's/@VERSION@/$(shell git describe)/' conf.h
- @sed -i 's/@CC@/$(shell ${CC} --version | head -n1)/' conf.h
-
kernel,SRCS := multiboot2.c mmap.c kernel.c mem/vmm.c
kernel,OBJS := conf.h
include ../rules.mk
+conf.h: conf.h.in
+ @cp conf.h.in conf.h
+ @sed -i 's/@VERSION@/$(shell git describe)/' conf.h
+ @sed -i 's/@CC@/$(shell ${CC} --version | head -n1)/' conf.h
+