Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
err, it can't build services.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device committed Nov 20, 2019
1 parent 57b03f8 commit 2f81135
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions messaging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ CC := clang
BASEDIR = ../..
PHONELIBS = ../../phonelibs

CXXFLAGS := -g -O3 -fPIC -std=c++11 -Wall -Wextra -Wshadow -Weffc++ -Wstrict-aliasing -Wpedantic -Werror -MMD
CXXFLAGS := -g -O3 -fPIC -std=c++11 -Wall -Wextra -Wshadow -Weffc++ -Wstrict-aliasing -Werror -MMD

LDLIBS=-lm -lstdc++ -lrt -lpthread

UNAME_M := $(shell uname -m)

YAML_FLAGS = -I$(PHONELIBS)/yaml-cpp/include
YAML_FLAGS = -I$(PHONELIBS)/yaml-cpp/include -I../
YAML_LIB = $(abspath $(PHONELIBS)/yaml-cpp/lib/libyaml-cpp.a)

ifeq ($(UNAME_M),aarch64)
Expand Down Expand Up @@ -78,6 +78,9 @@ messaging.so: $(OBJS)
ar rcsD '$@' $^ libs_a/*.o
rm -r libs_a

../services.h: ../services.py ../service_list.yaml
python3 ../services.py > ../services.h

clean:
@echo "[ CLEAN ]"
rm -rf *.so *.a bridge demo libs_a libs_so test_runner $(OBJS) $(DEPS) $(TEST_OBJS) $(TEST_DEPS)
Expand Down

0 comments on commit 2f81135

Please sign in to comment.