-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
51 lines (36 loc) · 996 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
50
#
# Makefile to build omnikstats
#
OBJECTS= omnikstats.o \
omnikfunctions.o\
omniksearch.o\
omnikgetstats.o\
omnikcsv.c\
omnikpvoutput.o\
omnikfillstruct.o\
omnikreadconfig.o
CC=gcc
CFLAGS= -Wall
LDFLAGS=
LDLIBS=-lm -L/usr/lib/i386-linux-gnu -lcurl
omnikstats.o: omnikstats.c
$(CC) $(CFLAGS) -c omnikstats.c
omnikfunctions.o: omnikfunctions.c
$(CC) $(CFLAGS) -c omnikfunctions.c
omniksearch.o: omniksearch.c
$(CC) $(CFLAGS) -c omniksearch.c
omnikgetstats.o: omnikgetstats.c
$(CC) $(CFLAGS) -c omnikgetstats.c
omnikcsv.o: omnikcsv.c
$(CC) $(CFLAGS) -c omnikcsv.c
omnikpvoutput.o: omnikpvoutput.c
$(CC) $(CFLAGS) -c omnikpvoutput.c
omnikfillstruct.o: omnikfillstruct.c
$(CC) $(CFLAGS) -c omnikfillstruct.c
omnikreadconfig.o: omnikreadconfig.c
$(CC) $(CFLAGS) -c omnikreadconfig.c
clean:
rm -f *.o
rm -f omnikstats
all: $(OBJECTS)
$(CC) $(CFLAGS) -o omnikstats $(OBJECTS) $(LDFLAGS) $(LDLIBS)