-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
32 lines (23 loc) · 686 Bytes
/
makefile
File metadata and controls
32 lines (23 loc) · 686 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
# Assignment 1 - CIS*3110
# Carter Rows - 1170615
## MAKEFILE for the project
## compile options/flags
CFLAGS = -Wall -g -std=c11
## Library to link
LIB = -lpthread
## executable to build
EXE = A2checker
## define the set of object files we need to build each executable
OBJS = a2main.o messageQueue.o spellCheck.o hashTable.o printing.o
## top level target
all : $(EXE)
## targets for each executable, based on the object files indicated
$(EXE) : $(OBJS)
$(CC) $(CFLAGS) -o $(EXE) $(OBJS) $(LIB)
## remove the results of a build
clean :
-rm -f $(OBJS) $(EXE)
valgrind :
valgrind --leak-check=full --fair-sched=yes -s ./$(EXE)
valgrindDRD :
valgrind --tool=drd -s ./$(EXE)