-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.def
More file actions
72 lines (61 loc) · 1.99 KB
/
Copy pathmakefile.def
File metadata and controls
72 lines (61 loc) · 1.99 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Global root definitions
# History of changes:
#
# 27 Mar 2019 creation
# 16 Oct 2020 added compilers and tools here
# Get root path
GLOBALROOTDIR := $(shell dirname\
$(realpath $(lastword $(MAKEFILE_LIST)))\
)/
#
# Build configurations
#
RASPDEBUG := dbg
RASPREL := rel
#
# Compilers and tools
#
CD := cd
MV := mv
MKDIR := mkdir -p
RMDIR := rm -Rf
AR := ar
GC := gcc
GCC := gcc
TOUCH := touch
ECHO := echo
VALGRIND := valgrind
VALGRINDOPTFULL := --leak-check=full --track-origins=yes \
--track-fds=yes
#
# All projects
#
# Top level folders - type of files inside folder
TOPLIB := lib
TOPBIN := bin
TOPOBJ := obj
TOPSRC := src
TOPINC := inc
# Top level categories
# Top Level Folder followed by name of project category
LIBCAT_DATASTRUCT := datastruct
LIBCAT_ENCODE := encode
LIBCAT_NET := net
BINCAT_NET := net
BINCAT_AI := ai
# All projects (first six chars are top level folders/categories)
LIBDAT_CYCBUF := cycbuf
LIBDAT_OCTREE := octree
LIBENC_BECODE := becode
LIBENC_ELGAMAL := elgamal
LIBNET_TCPLIB := tcplib
BINNET_ETHFRAME := ethframe
#
# Additional paths
#
# Full paths at top level
TOPLIBDIR := $(GLOBALROOTDIR)$(TOPLIB)/
TOPBINDIR := $(GLOBALROOTDIR)$(TOPBIN)/
TOPOBJDIR := $(GLOBALROOTDIR)$(TOPOBJ)/
TOPSRCDIR := $(GLOBALROOTDIR)$(TOPSRC)/
TOPINCDIR := $(GLOBALROOTDIR)$(TOPINC)/