-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (27 loc) · 743 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (27 loc) · 743 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
CFLAGS=-I/usr/include/libxml2
MONITOR_OBJ = monitor.o\
ooarray.o\
oodict.o\
oolist.o\
start_monitor.o
TOPIC_LOADER = topic_loader.o
#AGENT_OBJ = agent.o\
url_parser.o\
topic.o\
oodict.o\
oolist.o\
ooarray.o\
agent_server.o
TOPIC_STORAGE_OBJ = topic_storage.o\
topic.o\
start_topic_storage.o\
ooarray.o\
oolist.o\
oodict.o
program: $(MONITOR_OBJ) $(TOPIC_STORAGE_OBJ) $(TOPIC_LOADER)
cc -o monitor $(MONITOR_OBJ) -lzmq -Wall -lxml2 -pedantic -Ansi
# cc -o agent $(AGENT_OBJ) -lzmq -Wall -lxml2 -pedantic -Ansi -lcurl
cc -o storage $(TOPIC_STORAGE_OBJ) -lzmq -Wall -lxml2 -pedantic -Ansi
cc -o topic_loader $(TOPIC_LOADER) -lzmq -Wall -lxml2 -pedantic -Ansi
clean:
rm -rf *.o