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

# 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
SRC = mode_switcher.c
# 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)