Files
PWrPEA2plus/Makefile
T
2019-11-17 21:02:29 +01:00

25 lines
397 B
Makefile

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)