mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
22 lines
435 B
Makefile
22 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 .*~ *~
|