forked from devcoons/iso15765-canbus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.conf
52 lines (35 loc) · 1.4 KB
/
Makefile.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Project Configurations
# Project Name
PROJECT_NAME = iso15765
# Project Version
PROJECT_VERSION = 0.1
# Program or Shared Library
IS_LIBRARY = yes
# Source Files Directory
SRC_DIRECTORY = src lib
# Header Files Directory
INC_DIRECTORY = src lib
# Library Header Files Directory
LIB_DIRECTORY = lib
# Build Output Directory
BIN_DIRECTORY = bin
# Installation Directory Exec
INS_DIRECTORY = /usr/bin/
# Installation Directory Headers
INS_HEARERS_DIRECTORY = /usr/include/
# Installation Directory SO
INS_SO_DIRECTORY = /usr/lib/
# C Flags
CFLAGS = -O3 -D_GNU_SOURCE -Wfatal-errors -Wall -std=c11
# C++ Flags
CXXFLAGS = $(CFLAGS)
# Linker Flags
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
# Linker Libraries
LDLIBS = -fno-inline
# Debug Yes / No
DEBUG = no
# C Compiler
CC = gcc
# C++ Compiler
CXX = g++