-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmakefile
More file actions
33 lines (23 loc) · 763 Bytes
/
makefile
File metadata and controls
33 lines (23 loc) · 763 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
OBJS = obj/CacheManager.o obj/ConcDCT.o obj/ConcMAT.o obj/ConcQueue.o obj/ConcSegHashTable.o obj/ConcInvertedIndex.o
all: mkdirectory libconcerted.a obj/CacheManager.o obj/ConcDCT.o obj/ConcInvertedIndex.o obj/ConcMAT.o obj/ConcQueue.o obj/ConcSegHashTable.o
mkdirectory :
mkdir -p obj
mkdir -p build
libconcerted.a : $(OBJS)
ar cr build/libconcerted.a $(OBJS)
obj/CacheManager.o : src/CacheManager.h
g++ -c $< -o $@
obj/ConcDCT.o : src/ConcDCT.h
g++ -c $< -o $@
obj/ConcInvertedIndex.o : src/ConcInvertedIndex.h
g++ -c $< -o $@
obj/ConcMAT.o : src/ConcMAT.h
g++ -c $< -o $@
obj/ConcQueue.o : src/ConcQueue.h
g++ -c $< -o $@
obj/ConcSegHashTable.o : src/ConcSegHashTable.h
g++ -c $< -o $@
clean:
rm build/libconcerted.a
rm -r obj
rm -r build