diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 10 |
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 + |