Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -93,14 +93,10 @@ all: lib
- clean:
- @- rm -f $(clean_list)
- -# Generate dependencies for all files in project
- -%.d: $(LIBCOOLSTREAM_SRCS)
- - @ $(C++) $(CXXFLAGS) -MM $*.cpp | sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' > $@
- -
- .cpp.o:
- $(C++) $(CXXFLAGS) -c -o $*.o $<
- -clean_list += ${LIBCOOLSTREAM_SRCS:.cpp=.d}
- +clean_list += ${LIBCOOLSTREAM_SRCS:.cpp}
- version:
- @(printf '#define CS_VERSION "CST API %s%s"\n' "$(LIBCOOLSTREAM_NAME)-$(LIBCOOLSTREAM_VERSION)") > $(CS_VERSION_FILE).tmp
- @@ -118,8 +114,3 @@ lib: version $(LIBCOOLSTREAM_OBJS)
- $(C++) $(LDFLAGS) -o $(LIB) $(LIBCOOLSTREAM_OBJS)
- @rm -f $(LIB_S)
- $(AR) -r $(LIB_S) $(LIBCOOLSTREAM_OBJS)
- -
- -ifneq "$(MAKECMDGOALS)" "clean"
- -# Include the list of dependancies generated for each object file
- --include ${LIBCOOLSTREAM_SRCS:.cpp=.d}
- -endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement