Commit 1dd3b009 authored by Brendan Long's avatar Brendan Long

When make clean is run, remove the built program, top-level *.o files, and...

When make clean is run, remove the built program, top-level *.o files, and ignore the built program in git.
parent 1f060f77
*.o
*.swp
moc-adapter
......@@ -21,10 +21,10 @@ LDFLAGS=-L $(ALLJOYN_INSTALL_DIR)/lib -lalljoyn -lcrypto -lxml2 -pthread -luuid
DEV_PROVIDER_OBJS=$(patsubst %.cpp, %.o, $(SRCS))
OBJS=$(DEV_PROVIDER_OBJS)
all: moc-adapter
all: moc-adapter
clean:
$(RM) MockAdapter core DeviceProviders/*.o Bridge/*.o Common/*.o Adapters/MockAdapter/*.o
$(RM) moc-adapter *.o DeviceProviders/*.o Bridge/*.o Common/*.o Adapters/MockAdapter/*.o
moc-adapter: $(OBJS)
$(CXX) -o $@ $^ $(LDFLAGS)
......
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