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-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
|
|
|
|
|
|
|
|
all: libdyld.a
|
|
|
|
|
|
|
|
# pull in dependency info for *existing* .o files
|
|
|
|
-include $(OBJECTS:.o=.d)
|
|
|
|
|
|
|
|
libdyld.a: $(OBJECTS)
|
|
|
|
$(AR) crs libdyld.a $(OBJECTS)
|
|
|
|
|
2015-09-28 08:33:37 -04:00
|
|
|
%.o: $(LIBDYLD_DIRECTORY)/%.c
|
|
|
|
$(compile-dep)
|
|
|
|
|
2015-07-30 19:38:20 -04:00
|
|
|
.PHONY: clean
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(OBJECTS) $(OBJECTS:.o=.d) libdyld.a .*~ *~
|