Makefile 549 Bytes
Newer Older
jgladish's avatar
jgladish committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
SRCS=DeviceProviders/AllJoynProvider.cpp \
     DeviceProviders/AllJoynService.cpp \
     Bridge/main.cpp

ALLJOYN_INSTALL_DIR=/Users/jgladi200/Work/alljoyn/alljoyn-15.04.00-src/build/darwin/x86/debug/dist/cpp

CXXFLAGS=-D QCC_OS_GROUP_POSIX -Wall -Wextra -g -std=c++0x -ICommon -I$(ALLJOYN_INSTALL_DIR)/inc
LDFLAGS=-L $(ALLJOYN_INSTALL_DIR)/lib -lalljoyn -lcrypto
DEV_PROVIDER_OBJS=$(patsubst %.cpp, %.o,$(SRCS))
OBJS=$(DEV_PROVIDER_OBJS)

all: dsb

clean:
	$(RM) dsb core DeviceProviders/*.o Bridge/*.o

dsb: $(OBJS)
	$(CXX) -o $@ $^ $(LDFLAGS)