Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
CXXFLAGS = -O3 -Wall -std=c++11
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
detected_OS := Windows
|
||||
else
|
||||
detected_OS := $(shell uname)
|
||||
endif
|
||||
ifeq ($(detected_OS),Darwin)
|
||||
CXXFLAGS += -stdlib=libc++
|
||||
endif
|
||||
|
||||
OBJS = pea2plus.o ArrayGraph.o Graph.o ListGraph.o Stopwatch.o
|
||||
|
||||
LIBS = -pthread
|
||||
|
||||
TARGET = pea2plus
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CXX) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
Reference in New Issue
Block a user