26 lines
639 B
Makefile
26 lines
639 B
Makefile
# Process Manager - monitor (C++ / XFrame)
|
|
#
|
|
# Build:
|
|
# make # produces ./process-manager
|
|
# Run (under Xvfb or a real X server):
|
|
# ./process-manager
|
|
# Close the window or press Esc to quit.
|
|
|
|
ROOT := ../../..
|
|
CXX := g++
|
|
CXXFLAGS := -std=c++17 -O2 -Wall -I$(ROOT)/widgets -I$(ROOT)/widgets/components
|
|
LDFLAGS := -lX11
|
|
|
|
all: process-manager
|
|
|
|
process-manager: main.cpp \
|
|
$(ROOT)/widgets/components/XProcessList/XProcessList.h \
|
|
$(ROOT)/widgets/components/GtkButton/GtkButton.h \
|
|
$(ROOT)/widgets/components/GtkEntry/GtkEntry.h
|
|
$(CXX) $(CXXFLAGS) main.cpp $(LDFLAGS) -o $@
|
|
|
|
clean:
|
|
rm -f process-manager
|
|
|
|
.PHONY: all clean
|