Commit ac5c00dc authored by Brendan Long's avatar Brendan Long

Make the build output less verbose by default. make V=1 works like usual.

parent 768480b0
......@@ -28,14 +28,22 @@ LDFLAGS=-L $(ALLJOYN_INSTALL_DIR)/lib -lalljoyn -lcrypto -lxml2 -pthread -luuid
DEV_PROVIDER_OBJS=$(patsubst %.cpp, %.o, $(SRCS))
OBJS=$(DEV_PROVIDER_OBJS)
ifeq ($V, 1)
CXX_PRETTY = $(CXX)
LD_PRETTY = $(CXX)
else
CXX_PRETTY = @echo " [CXX] $<" ; $(CXX)
LD_PRETTY = @echo "[LINK] $@" ; $(CXX)
endif
all: moc-adapter
clean:
$(RM) moc-adapter *.o DeviceProviders/*.o Bridge/*.o Common/*.o Adapters/MockAdapter/*.o \
ZigBeeAdapter/*.o
moc-adapter: $(OBJS)
$(CXX) -o $@ $^ $(LDFLAGS)
$(LD_PRETTY) -o $@ $^ $(LDFLAGS)
%.o: %.cpp
$(CXX_PRETTY) $(CXXFLAGS) -c -o $@ $<
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment