Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 3478b351a5
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (27 sloc) 0.724 kB
ifeq (,$(TOPDIR))
$(error TOPDIR variable must be defined)
endif
all:
$(TOPDIR)/Makefile.config:
$(error Please run $(TOPDIR)/configure first)
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
ifneq ($(MAKECMDGOALS),tar)
-include $(TOPDIR)/Makefile.config
endif
endif
endif
CC ?= gcc
LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -lX11 -L/usr/X11R6/lib -lXmu
INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
CFLAGS ?= -O2 -Wall
ifneq (,$(DEVEL))
CFLAGS ?= -g -Wall
endif
%.o: %.c
$(CC) $(CFLAGS) $(INCS) -c $<
%.dep: %.c
$(CC) $(CFLAGS) $(INCS) -MM $< -o $@
.PHONY: all clean distclean install uninstall
distclean: clean
install: all
Jump to Line
Something went wrong with that request. Please try again.