14 lines
280 B
Makefile
Raw Permalink Normal View History

2020-10-14 19:23:21 +02:00
CXX = g++
CXXFLAGS = -Wall -O3
2020-10-14 19:23:21 +02:00
mc: main.o Timing.o
$(CXX) $(CXXFLAGS) -o mc main.o Timing.o
main.o: main.cpp fileHandler.h MedianOfMedians.h MedianQuicksort.h RandomizedSelect.h Timing.h Wirth.h common.h
$(CXX) $(CXXFLAGS) -c main.cpp
Timing.o: Timing.h
clean :
-rm *.o mc