23 lines
435 B
Makefile
23 lines
435 B
Makefile
include ../include/generated/variables.mak
|
|
include $(MISOC_DIRECTORY)/software/common.mak
|
|
|
|
COMMONFLAGS += -I$(MISOC_DIRECTORY)/software/include/dyld
|
|
|
|
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)
|
|
|
|
%.o: $(LIBDYLD_DIRECTORY)/%.c
|
|
$(compile-dep)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
$(RM) $(OBJECTS) $(OBJECTS:.o=.d) libdyld.a .*~ *~
|