forked from Dartmouth-CS50-Fall2021-Prioleau/tse-Sheinstein
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (33 loc) · 844 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
# Makefile for CS50 Tiny Search Engine
#
# David Kotz - April 2016, 2017
MAKE = make
.PHONY: all valgrind clean
############## default: make all libs and programs ##########
all:
$(MAKE) -C libcs50
$(MAKE) -C common
$(MAKE) -C crawler
$(MAKE) -C indexer
$(MAKE) -C querier
############## valgrind all programs ##########
valgrind: all
$(MAKE) -C crawler valgrind
$(MAKE) -C indexer valgrind
$(MAKE) -C querier valgrind
############### TAGS for emacs users ##########
TAGS: Makefile */Makefile */*.c */*.h */*.md */*.sh
etags $^
############## clean ##########
clean:
rm -f *~
rm -f TAGS
rm -rf tse-index-output
rm -rf tse-index-sorted
rm -rf tse-indextest-output
rm -rf tse-sorted-indextest
$(MAKE) -C libcs50 clean
$(MAKE) -C common clean
$(MAKE) -C crawler clean
$(MAKE) -C indexer clean
$(MAKE) -C querier clean