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

9 10
LIBXML_INC=/usr/include/libxml2

jgladish's avatar
jgladish committed
11 12
ALLJOYN_INSTALL_DIR=/Users/jgladi200/Work/alljoyn/alljoyn-15.04.00-src/build/darwin/x86/debug/dist/cpp

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

all: dsb

clean:
21
	$(RM) dsb core DeviceProviders/*.o Bridge/*.o Common/*.o
jgladish's avatar
jgladish committed
22 23 24 25 26

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