2015-09-28 08:33:37 -04:00
|
|
|
include ../include/generated/variables.mak
|
|
|
|
include $(MISOC_DIRECTORY)/software/common.mak
|
2015-07-30 19:38:20 -04:00
|
|
|
|
2015-10-18 23:33:21 -04:00
|
|
|
# lm32 is not supported
|
|
|
|
ifeq ($(CPU),lm32)
|
|
|
|
ALL_TARGET=
|
|
|
|
else
|
|
|
|
ALL_TARGET=libdyld.a
|
|
|
|
endif
|
|
|
|
|
2015-09-28 08:33:37 -04:00
|
|
|
COMMONFLAGS += -I$(MISOC_DIRECTORY)/software/include/dyld
|
2015-07-30 19:38:20 -04:00
|
|
|
|
|
|
|
OBJECTS=dyld.o
|
|
|
|
|
2015-10-18 23:33:21 -04:00
|
|
|
all: $(ALL_TARGET)
|
2015-07-30 19:38:20 -04:00
|
|
|
|
|
|
|
libdyld.a: $(OBJECTS)
|
|
|
|
$(AR) crs libdyld.a $(OBJECTS)
|
|
|
|
|
2015-09-28 08:33:37 -04:00
|
|
|
%.o: $(LIBDYLD_DIRECTORY)/%.c
|
2015-11-03 11:31:53 -05:00
|
|
|
$(compile)
|
2015-09-28 08:33:37 -04:00
|
|
|
|
2015-11-03 11:31:53 -05:00
|
|
|
.PHONY: all clean
|
2015-07-30 19:38:20 -04:00
|
|
|
|
|
|
|
clean:
|
2015-11-03 11:31:53 -05:00
|
|
|
$(RM) $(OBJECTS) libdyld.a .*~ *~
|