Makefile (379B)
1 CC = g++ 2 CFLAGS = -g -Wall -std=c++17 $(shell pkg-config --cflags gtkmm-3.0) 3 LDLIBS = $(shell pkg-config --libs gtkmm-3.0) -lboost_iostreams -lboost_system -lboost_filesystem 4 TARGET = henon 5 DEPS = gnuplot-iostream/gnuplot-iostream.h RK.h socketwindow.h 6 all: $(TARGET) 7 $(TARGET): $(TARGET).cpp $(DEPS) 8 $(CC) $(CFLAGS) $(LDLIBS) -o $(TARGET) $(TARGET).cpp 9 clean: 10 rm -f $(TARGET)