-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
executable file
·41 lines (33 loc) · 867 Bytes
/
makefile
File metadata and controls
executable file
·41 lines (33 loc) · 867 Bytes
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
###########
#add new depend files below
#add new ones here object files relating to .cpp filesF
DEPS=driver.o jsoncpp.o
EXE=driver
#######################
#DO NOT EDIT BELOW
#######################
###########
#variables
###########
CC=g++
#CPPFLAGS= -Wall -c -I./include/ -I./include/dataFile/ -I/usr/include/ -DCURL_STATICLIB
CPPFLAGS= -Wall -c -I.
CPPFLAGS+= -g -MD -MP -std=c++0x
LFLAGS= -Wall
#LFLAGS= -static -L/usr/lib/x86_64-linux-gnu/libcurl.a -Wl,-Bsymbolic-functions -Wl,-z,relro -lidn -lgcrypt -llber -lldap -lrt -lgssapi_krb5 -lz -lgnutls -lgcrypt -lrtmp
VPATH=
all: $(EXE)
debug: CC+= -DDEBUG -g
debug: $(EXE)
###########
#linker
###########
$(EXE): $(DEPS)
$(CC) $(DEPS) $(LFLAGS) -o $(EXE).exe
##########
#implicit calls for all object file builds
#########
###########
#include dependency files
###########
-include $(DEPS:%.o=%.d)