1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-11-20 11:16:10 -05:00

Simplify Makefile

This commit is contained in:
Braiden Vasco 2017-11-09 15:54:13 +00:00
parent 8bfe30ce96
commit 6741306e58

View file

@ -1,15 +1,15 @@
export CCPREFIX = i686-elf-
CCPREFIX = i686-elf-
export AR = $(CCPREFIX)ar
export AS = $(CCPREFIX)as
export CC = $(CCPREFIX)gcc
AR = $(CCPREFIX)ar
AS = $(CCPREFIX)as
CC = $(CCPREFIX)gcc
export INCLUDE = $(shell pwd)/include
export KERNEL = $(shell pwd)/rootfs/boot/kernelmq.multiboot2
INCLUDE = include
KERNEL = rootfs/boot/kernelmq.multiboot2
export CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I $(INCLUDE)
CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I $(INCLUDE)
IMAGE = $(shell pwd)/image.iso
IMAGE = image.iso
# Architecture-dependent
OBJS = start.s.o