lib.mk (304B) download
1include $(TOPDIR)/mk/phony.mk
2
3all: compile_flags.txt
4
5clean:
6 @echo "[ RM ] $(OBJS) $(LIBRARY) compile_flags.txt"
7 $(SILENT)-rm -f $(OBJS) $(LIBRARY) compile_flags.txt
8
9.PRECIOUS: $(OBJS)
10
11include $(TOPDIR)/mk/object.mk
12
13# Archives
14$(LIBRARY): $(OBJS)
15 @echo "[ AR ] $@"
16 $(SILENT)$(AR) $(ARFLAGS) $@ $^