PHP-GTK Client for Gemini Protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
525 B

2 months ago
# Define compiler and flags
CXX = g++
1 month ago
CXXFLAGS = `pkg-config --cflags gtkmm-4.0`
LDFLAGS = `pkg-config --libs gtkmm-4.0`
2 months ago
# Define target executable and source files
TARGET = bin/Yoda
SRCS = src/main.cpp $(wildcard src/app/*.cpp)
2 months ago
OBJS = $(SRCS:.cpp=.o)
# Default target
all: $(TARGET)
# Rule to build the executable
$(TARGET): $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
# Rule to build object files from source files
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $< -o $@
# Rule to clean up build files
clean:
rm -f $(TARGET) $(OBJS)