-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (39 loc) · 898 Bytes
/
Makefile
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
#
# Project: Ambient Networks Phase 2
# Subproject: Workpackage C - Multi-Radio Access (GLL)
#
# File: Makefile
#
# Description: This is the Makefile for the GLL FE
#
# Authors: Ramon Aguero ([email protected])
# Johnny Choque ([email protected])
#
# Organisation: University of Cantabria
#
files = timer \
scheduler \
mgi_packet \
wsi_packet \
tlv \
ari \
ifaceTable \
netInterface \
gll_daemon \
gll_im \
gll_al \
ifaceScan \
gll_toolbox \
ConfigurationFile
all_objs = $(addsuffix .o, $(addprefix src/, $(files)))
library = lib/libgll.a
CPPFLAGS += -g -I./inc -Wall
.PHONY : bin clean
all : $(library) bin
$(library) : $(all_objs)
$(AR) r $@ $?
bin :
cd bin && gmake $(MAKECMDGOALS)
clean :
rm -rf $(targetExe) $(all_objs) $(execPos_objs) $(all_exec_objs) $(library)
cd bin && gmake $(MAKECMDGOALS)