Commit 2a9d3b11 authored by Simon Krissel's avatar Simon Krissel
Browse files

Edited makefile

parent 69ad1d80
......@@ -19,3 +19,6 @@ install
......@@ -5,16 +5,19 @@ CFLAGS += -g
CFLAGS += -I../../include
CFLAGS += -I../../driver/include
CFLAGS += --include=../../include/generated/autoconf.h
CFLAGS += --include=protobuf/can.pb-c.h
LDLIBS += -lpthread
LDLIBS += -lprotobuf-c
all: can_proto can_simu_transmitter
all: can_simu_transmitter can_proto
can_simu_transmitter: protobuf/can.pb-c.c can_simu_transmitter.c
can_simu_transmitter: can_simu_transmitter.c
can_proto: can.proto
protoc *.proto --c_out=.
@mkdir -p protobuf/
protoc *.proto --c_out=./protobuf/ --python_out=./protobuf/
.PHONY: clean
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment