Files
openpilot-evo/panda/tests/safety/Makefile
T
Vehicle Researcher 9032365ea1 Merge commit '3966ad4c4d9052a39cef759cea211d614613f285' as 'panda'
old-commit-hash: 983120bfed09ad9331fa96be3143a604c9a1a179
2019-06-28 21:09:12 +00:00

19 lines
302 B
Makefile

CC = clang
CCFLAGS = -O3 -fPIC -DPANDA -I.
.PHONY: all
all: libpandasafety.so
libpandasafety.so: test.o
$(CC) -shared -o '$@' $^ -lm
test.o: test.c
@echo "[ CC ] $@"
$(CC) $(CCFLAGS) -MMD -c -I../../board -o '$@' '$<'
.PHONY: clean
clean:
rm -f libpandasafety.so test.o test.d
-include test.d