-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (17 loc) · 770 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (17 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# CXX = g++
CXX = arm-linux-gnueabihf-g++
INCLUDES = -I/home/vinod/WS/VDevice/VTS/rdk-halif-aidl-test-cec/build/current/h/ \
-I/home/vinod/WS/VDevice/VTS/rdk-halif-aidl-test-cec/build/usr/include \
-I/home/vinod/WS/VDevice/VTS/rdk-halif-aidl-test-cec/test
CXXFLAGS = -Wall -g -fPIC $(INCLUDES)
# -L/home/vinod/WS/VDevice/VTS/linux_binder_idl/local/lib
APP_TARGET = testapp
APP_SOURCE = main.cpp HDMICecHalFactory.cpp ServiceManagerCheck.cpp
APP_OBJECT = $(APP_SOURCE:.cpp=.o)
all: $(APP_TARGET)
$(APP_TARGET): $(APP_OBJECT)
$(CXX) -o $@ $(APP_OBJECT) -no-pie -L. -L./brcm -lbinder -lutils -llog -Wl,--unresolved-symbols=ignore-all -Wl,-rpath,'$$ORIGIN' $(LDFLAGS)
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $< -o $@
clean:
rm -f $(APP_OBJECT) $(APP_TARGET)