CXX      ?= g++
CXXFLAGS ?= -std=c++17 -O2 -Wall -Wextra

# One -I per widget dir: each widget header includes "core/xframe_core.h"
# from its own component directory.
INCLUDES := -I../../../widgets/components/XTempHistory

LDFLAGS  := -lX11

all: temperature-monitor

temperature-monitor: main.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) main.cpp -o temperature-monitor $(LDFLAGS)

clean:
	rm -f temperature-monitor

.PHONY: all clean
