From e5e0180a3a3c77665ec3a8f2a612190b8f8f2b08 Mon Sep 17 00:00:00 2001 From: aqua Date: Wed, 2 Nov 2022 21:05:43 +0200 Subject: makefile: make all target the default --- src/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 + -- cgit v1.2.1