#17 Add BaseCommon
parent
afe9995141
commit
1a20ce5443
@ -0,0 +1,12 @@
|
|||||||
|
SRCS = $(wildcard *.cpp)
|
||||||
|
OBJS = $(SRCS:.cpp=.o)
|
||||||
|
DEPS = $(SRCS:.cpp=.d)
|
||||||
|
|
||||||
|
BaseCommon.a: $(OBJS)
|
||||||
|
$(AR) rcs BaseCommon.a $(OBJS)
|
||||||
|
|
||||||
|
%.o : %.cpp
|
||||||
|
$(CC) $(CPPFLAGS) -MMD -MD -c $< -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) *.o *.d BaseCommon.a
|
||||||
Loading…
Reference in new issue