Skip to content

Commit 6b89c6a

Browse files
added datasets and Makefile
1 parent 067a787 commit 6b89c6a

File tree

4 files changed

+521302
-0
lines changed

4 files changed

+521302
-0
lines changed

assignment1/Makefile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Compiler
2+
CC = gcc
3+
4+
# Compiler flags
5+
CFLAGS = -pthread
6+
7+
# Source file
8+
SRC = app.c
9+
10+
# Executable file
11+
EXE = app.exe
12+
13+
# Output CSV file
14+
CSV = pagerank.csv
15+
16+
# Determine the operating system
17+
ifeq ($(OS),Windows_NT)
18+
RM = del /F
19+
else
20+
RM = rm -f
21+
endif
22+
23+
all: $(EXE)
24+
25+
$(EXE): $(SRC)
26+
$(CC) $(CFLAGS) -o $@ $<
27+
28+
clean:
29+
$(RM) $(EXE) $(CSV)

0 commit comments

Comments
 (0)