Browse Source

Delete Makefile

master
mtzikara 6 years ago
committed by GitHub
parent
commit
5c2c655a83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 37
      serial_v2/Makefile

37
serial_v2/Makefile

@ -1,37 +0,0 @@
SHELL := /bin/bash
# ============================================
# COMMANDS
CC = gcc
RM = rm -f
CFLAGS_DEBUG=-O0 -g -I.
CFLAGS=-std=gnu99 -O3 -I.
OBJ=serial_gs_pagerank.o serial_gs_pagerank_functions.o
DEPS=serial_gs_pagerank_functions.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…
Cancel
Save