This repository has been archived on 2024-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
dconf-theme-switcher/Makefile

31 lines
458 B
Makefile
Raw Normal View History

2023-07-25 00:50:55 +01:00
# Makefile for Mode Switcher GTK application
# Compiler
CC = gcc
# Compiler flags
CFLAGS = `pkg-config --cflags gtk+-3.0`
# Linker flags
LDFLAGS = `pkg-config --libs gtk+-3.0`
# Source files
2023-07-25 00:54:12 +01:00
SRC = themeswitcher.c
2023-07-25 00:50:55 +01:00
# Object files
OBJ = $(SRC:.c=.o)
# Executable name
EXECUTABLE = themeswitcher
all: $(EXECUTABLE)
$(EXECUTABLE): $(OBJ)
$(CC) $(OBJ) -o $(EXECUTABLE) $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f $(OBJ) $(EXECUTABLE)