Files
32bit_kernel/libk/Makefile
brice.boisson 633decc0af Add: libc
2023-09-27 10:35:00 +09:00

20 lines
288 B
Makefile

include ../Makefile.common
OBJS = \
syscall.o \
DEPS = $(OBJS:.o=.d)
CPPFLAGS += -MMD -Iinclude
CFLAGS += $(K_EXTRA_CFLAGS) -g -nostdlib
LDFLAGS += -Wl,-Tkernel.lds
LDLIBS =
all: $(TARGET)
ar -rcs $(LIB).a *.o
$(TARGET): $(OBJS)
clean:
$(RM) $(OBJS) $(DEPS) $(TARGET) $(LIB).a