5 -include ../Makefile.cfg
7 BIN = $(OUTPUTDIR)Libs/crt0.o $(OUTPUTDIR)Libs/crt0S.o $(OUTPUTDIR)Libs/crti.o $(OUTPUTDIR)Libs/crtn.o
11 .PHONY: all clean install utest utest-build generate_exp
21 utest generate_exp utest-build utest-run:
24 $(OUTPUTDIR)Libs/%.o: %.c Makefile
26 $(CC) $(CFLAGS) -c $< -o $@
27 $(OUTPUTDIR)Libs/%S.o: %S.c Makefile
29 $(CC) $(CFLAGS) -c $< -o $@ -fPIC
30 $(OUTPUTDIR)Libs/%.o: $(ARCHDIR)-%.S
32 $(CC) $(CFLAGS) -c $< -o $@
34 #$(OUTPUTDIR)Libs/crt0.o: obj-$(ARCH)/crt0_asm.o obj-$(ARCH)/crt0_c.o
38 #obj-$(ARCH)/crt0_asm.o: crt0.$(ARCHDIR).$(ASSUFFIX)
40 # $(AS) $(ASFLAGS) $< -o $@
42 #obj-$(ARCH)/crt0_c.o: crt0.c