Makefile 602 Bytes
Newer Older
jgladish's avatar
jgladish committed
1 2
SRCS=DeviceProviders/AllJoynProvider.cpp \
     DeviceProviders/AllJoynService.cpp \
3 4 5
     Bridge/Bridge.cpp \
     Bridge/main.cpp \
     Common/Log.cpp
jgladish's avatar
jgladish committed
6 7 8

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

9
CXXFLAGS=-D QCC_OS_GROUP_POSIX -Wall -Wextra -g -std=c++0x -I. -I$(ALLJOYN_INSTALL_DIR)/inc
jgladish's avatar
jgladish committed
10 11 12 13 14 15 16
LDFLAGS=-L $(ALLJOYN_INSTALL_DIR)/lib -lalljoyn -lcrypto
DEV_PROVIDER_OBJS=$(patsubst %.cpp, %.o,$(SRCS))
OBJS=$(DEV_PROVIDER_OBJS)

all: dsb

clean:
17
	$(RM) dsb core DeviceProviders/*.o Bridge/*.o Common/*.o
jgladish's avatar
jgladish committed
18 19 20 21 22

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