From 860b3c0ccfb2756b8ed77523048952011b74a212 Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 21 Jun 2016 14:14:04 +0200 Subject: src: can-lin: initial source import This patch adds the sources needed for the HVAC and iDrive applications. Change-Id: I53148a5d11c34787dd11295939bbaf8702c64dcb Signed-off-by: Christian Gromm --- Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1f6a513 --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +CFLAGS += --sysroot ${AGL_TOP}/build/tmp/sysroots/porter -Wall -I. -w -lpthread -lstdc++ -mfloat-abi=hard -O2 + +CC := ${CROSS_COMPILE}gcc +INCLUDE_PATHS = ${INCLUDE_PATH} -I./ABI-IPC -I./K2LABI/ABI -I./K2LABI/Common -I./K2LABI/Common/FlowDecoder -I./K2LABI/Common/SystemUtilities -I./K2LABI/IPC + +# C source files +CSRC = \ + ./ABI-IPC/abi-ipc.cpp \ + ./K2LABI/ABI/ABI.cpp \ + ./K2LABI/ABI/ABICommands.cpp \ + ./K2LABI/ABI/ABICommandsEx.cpp \ + ./K2LABI/ABI/ABIFilter.cpp \ + ./K2LABI/ABI/Ipc.cpp \ + ./K2LABI/ABI/K2LABI.cpp \ + ./K2LABI/ABI/ResultParser.cpp \ + ./K2LABI/Common/windows-adapter.cpp \ + ./K2LABI/Common/FlowDecoder/FlowDecoder.cpp \ + ./K2LABI/IPC/IPCFlowDecoder.cpp \ + ./K2LABI/IPC/K2LIPC.cpp \ + ./main.cpp + +all: + $(CC) -o OptoLyzerMoccaApp $(CFLAGS) $(PROJECT_C_FLAGS) $(CSRC) $(INCLUDE_PATHS) $(LD_LIBRARY_PATH) $(-Wall) + +clean: + rm -f `find -name '*.o'` + rm -f `find -name '*.*~'` + rm -f `find -name '*~'` + rm -f `find -name '*.a'` + rm -f `find -name '*.out'` + rm -f `find -name '*.cmd'` + rm -f `find -name '*.order'` + rm -f `find -name '*.orig'` + rm -f `find -name '*.tmp'` -- cgit 1.2.3-korg