Commit c2179477 authored by Luc Lenôtre's avatar Luc Lenôtre

Fixed Makefile

parent a8bdc90c
kernel
*.o
......@@ -8,8 +8,8 @@ LINK_FLAGS = -nostdlib -lgcc
LINKER = linker.ld
ASM_SRC := $(shell find src/ -type f -name "*.c")
C_SRC := $(shell find src/ -type f -name "*.s")
ASM_SRC := $(shell find src/ -type f -name "*.s")
C_SRC := $(shell find src/ -type f -name "*.c")
ASM_OBJ := $(patsubst %.s, %.o, $(ASM_SRC))
C_OBJ := $(patsubst %.c, %.o, $(C_SRC))
......@@ -17,8 +17,7 @@ C_OBJ := $(patsubst %.c, %.o, $(C_SRC))
OBJ := $(ASM_OBJ) $(C_OBJ)
$(NAME): $(OBJ)
echo $(OBJ)
#$(CC) $(CFLAGS) $(LINK_FLAGS) -T $(LINKER) -o $(NAME) $(OBJ)
$(CC) $(CFLAGS) $(LINK_FLAGS) -T $(LINKER) -o $(NAME) $(OBJ)
$(ASM_OBJ): $(ASM_SRC)
$(CA) -c $< -o $@
......
File deleted
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment