1 DEPFILES = $(OBJECTS:%.o=%.d)
3 $(MAKEROOT)/libs-$(ARCH):
4 mkdir -p $(MAKEROOT)/libs-$(ARCH)
7 install: $(MAKEROOT)/libs-$(ARCH) $(LIBRARY)
8 cp $(LIBRARY) $(MAKEROOT)/libs-$(ARCH)
10 $(LIBRARY): $(OBJECTS)
14 $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
17 $(AS) -c $(ASFLAGS) $< -o $@
21 @rm -f $(OBJECTS) $(LIBRARY) $(DEPFILES)