mtzikara
6 years ago
committed by
GitHub
1 changed files with 0 additions and 37 deletions
@ -1,37 +0,0 @@ |
|||||
SHELL := /bin/bash |
|
||||
|
|
||||
# ============================================
|
|
||||
# COMMANDS
|
|
||||
|
|
||||
CC = gcc -std=gnu99 |
|
||||
RM = rm -f |
|
||||
CFLAGS_DEBUG=-O0 -ggdb3 -Wall -I. |
|
||||
CFLAGS=-O3 -Wall -I. |
|
||||
OBJ=serial_gs_pagerank.o serial_gs_pagerank_functions.o csr_sparse_matrix.o lil_sparse_matrix.o |
|
||||
DEPS=serial_gs_pagerank_functions.h csr_sparse_matrix.h lil_sparse_matrix.h |
|
||||
|
|
||||
# ==========================================
|
|
||||
# TARGETS
|
|
||||
|
|
||||
EXECUTABLES = pagerank.out |
|
||||
|
|
||||
.PHONY: all clean |
|
||||
|
|
||||
all: $(EXECUTABLES) |
|
||||
|
|
||||
# ==========================================
|
|
||||
# DEPENDENCIES (HEADERS)
|
|
||||
|
|
||||
%.o: %.c $(DEPS) |
|
||||
$(CC) -c -o $@ $< $(CFLAGS) |
|
||||
|
|
||||
.PRECIOUS: $(EXECUTABLES) $(OBJ) |
|
||||
|
|
||||
# ==========================================
|
|
||||
# EXECUTABLE (MAIN)
|
|
||||
|
|
||||
$(EXECUTABLES): $(OBJ) |
|
||||
$(CC) -o $@ $^ $(CFLAGS) |
|
||||
|
|
||||
clean: |
|
||||
$(RM) *.o *~ $(EXECUTABLES) |
|
Loading…
Reference in new issue