34,7 → 34,7 |
|
LIBC_PREFIX = ../../lib/libc |
include $(LIBC_PREFIX)/Makefile.toolchain |
include arch/$(UARCH)/Makefile.inc |
include arch/$(ARCH)/Makefile.inc |
|
#CFLAGS += -Iinclude -I../../srv/loader/include -fPIC -O0 -ggdb |
#LFLAGS += -shared --no-undefined -soname rtld.so |
75,13 → 75,13 |
all: inc $(OUTPUT) librtld.pic.a |
|
inc: |
ln -sfn ../arch/$(UARCH)/include include/arch |
ln -sfn ../arch/$(ARCH)/include include/arch |
|
-include Makefile.depend |
|
clean: |
-rm -f $(OUTPUT) librtld.pic.a $(OUTPUT).map $(OUTPUT).disasm $(OUTPUT).sections Makefile.depend *.o $(PIC_OBJECTS) arch/$(UARCH)/_link.ld include/arch |
find arch/$(UARCH)/ -name '*.o' -follow -exec rm \{\} \; |
-rm -f $(OUTPUT) librtld.pic.a $(OUTPUT).map $(OUTPUT).disasm $(OUTPUT).sections Makefile.depend *.o $(PIC_OBJECTS) arch/$(ARCH)/_link.ld include/arch |
find arch/$(ARCH)/ -name '*.o' -follow -exec rm \{\} \; |
|
depend: |
$(CC) $(DEFS) $(CFLAGS) -M $(ARCH_SOURCES) $(GENERIC_SOURCES)> Makefile.depend |