This repository has been archived on 2018-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
BBB-Simple-ACS/client/Makefile

16 lines
420 B
Makefile

SOURCES = $(wildcard *.cpp)
OBJECTS = $(SOURCES:%.cpp=%.o)
APPLICATION = acs
CXXFLAGS = -Wall -c -g -O0 -I/usr/include/mysql -std=c++14 -o
LDFLAGS = -lacsdriver -lboost_system -lpthread -lmysqlpp -lqrencode
all: ${OBJECTS} ${APPLICATION}
${APPLICATION}: ${OBJECTS}
${CXX} -o $@ ${OBJECTS} ${LDFLAGS}
${OBJECTS}:
${CXX} ${CXXFLAGS} $@ ${@:%.o=%.cpp}
clean:
rm -f ${APPLICATION} ${OBJECTS}