-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (18 loc) · 681 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (18 loc) · 681 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
CXX = g++
CXXFLAGS = -std=c++17 -Wall
all: tests PA1.out
PA1.out: main.o createTestFileFramework.o BloomFilter.o HashTable.o utilities.o
${CXX} $^ -o $@
tests: testBloomFilter testHashTable
# ./testBloomFilter # COMMENT THIS LINE OUT BEFORE SUBMISSION
# ./testHashTable # COMMENT THIS LINE OUT BEFORE SUBMISSION
testBloomFilter: testBloomFilter.o BloomFilter.o HashTable.o testFramework.o utilities.o
${CXX} ${CXXFLAGS} $^ -o $@
testHashTable: testHashTable.o HashTable.o testFramework.o utilities.o
${CXX} ${CXXFLAGS} $^ -o $@
cleanOutputs:
/bin/rm -f ./output_files/*
cleanObjectFiles:
/bin/rm -f *.o
clean:
/bin/rm -f testBloomFilter testHashTable PA1.out *.o