summaryrefslogtreecommitdiffstats
path: root/MakefileUbuntu
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2016-06-21 14:14:04 +0200
committerChristian Gromm <christian.gromm@microchip.com>2016-06-21 14:14:04 +0200
commit860b3c0ccfb2756b8ed77523048952011b74a212 (patch)
treee0672fb5cf923dcf0a4a48a62a69011e1b72976a /MakefileUbuntu
parent742bace60b9c0a0f583d8afe1097d029f468fa03 (diff)
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 <christian.gromm@microchip.com>
Diffstat (limited to 'MakefileUbuntu')
-rw-r--r--MakefileUbuntu34
1 files changed, 34 insertions, 0 deletions
diff --git a/MakefileUbuntu b/MakefileUbuntu
new file mode 100644
index 0000000..a90c9e3
--- /dev/null
+++ b/MakefileUbuntu
@@ -0,0 +1,34 @@
+CFLAGS += -Wall -I. -w -pthread -lstdc++ $(PROJECT_C_FLAGS)
+
+CC := ${CROSS_COMPILE}g++
+INCLUDE_PATHS = -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 MostAmp $(CFLAGS) $(CSRC) $(INCLUDE_PATHS) $(-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'`