old-MTGos-old/kernel/Makefile
Morten Delenk ff8ba97d2a Added a keyboard driver and somehow broke the kernel.
Further researches are being done
2015-10-13 16:11:06 +02:00

12 lines
264 B
Makefile

SRCS = $(shell find -name '*.cpp' -o -name '*.[cS]')
OBJS = $(addsuffix .o,$(basename $(SRCS)))
LD = g++
LDFLAGS = -T kernel.ld -nostdlib -nodefaultlibs
all: hal
$(LD) $(LDFLAGS) -o mtgos $(OBJS)
hal:
make -C hal
clean:
make -C hal clean
.PHONY: all hal clean