6,20 → 6,20 |
# |
|
ifndef BASE |
BASE = ../.. |
BASEDOS = ..\.. |
BASE = .. |
BASEDOS = .. |
endif |
|
include $(BASE)/config/config.mk |
include $(BASE)/config.mk |
|
C_INC= -I. -I$(BASE)/include/ll -I$(BASE)/include |
C_OPT += -I$(INCL)/ll -I. |
C_OPT += -Dlint -Wno-uninitialized -Wno-parentheses |
ASM_OPT += -Dlint -I. |
|
# by Massy |
# so there is no conflict with standard libC library |
C_OPT += -Dwrite=ll_internal_write |
C_OPT += -Dwrite=glue_write |
|
|
|
SRCDIRS = msun/src msun/i387 machine |
space := $(empty) $(empty) |
|
75,16 → 75,17 |
|
allclean : clean |
echo # Kernel Dependency file > deps |
$(RM) ..\lib\libhm.a |
$(RM) (LIB_PATH)libhm.a |
|
deps : $(OBJS:.o=.c) |
$(CC) $(C_OPT) $(VMINCL) -M $(OBJS:.o=.c) > deps |
#deps : $(OBJS:.o=.c) |
deps : makefile $(CFILES) |
$(CC) $(C_OPT) -M $(CFILES) > deps |
|
libhm.a : $(OBJS) |
$(AR) rs libhm.a $(OBJS) |
|
deb: |
type $(VPATH) |
echo $(CFILES) |
|
%.s:%.c |
|