vulcanos/kernel/cpu/Makefile
2021-02-04 15:27:55 +01:00

12 lines
240 B
Makefile

SOURCES = main.asm ports.asm \
gdt.asm idt.asm \
interrupts.asm header.asm
OBJS = $(SOURCES:.asm=.o_asm)
ASM = nasm
ASMFLAGS = -f elf32
all: $(OBJS)
%.o_asm: %.asm
@$(ASM) $(ASMFLAGS) $< -o $@
@echo [ASM] compiling $<...