Makefile.am 683 Bytes
Newer Older
1
2
include $(top_srcdir)/Makefile.decl

Matthias Clasen's avatar
Matthias Clasen committed
3
4
5
6
7
8
INCLUDES = \
	-I$(top_srcdir)			\
	-I$(top_builddir)/gdk		\
	-I$(top_srcdir)/gdk		\
	-I$(top_srcdir)/gdk/x11		\
	$(GTK_DEBUG_FLAGS)		\
9
10
	$(GTK_DEP_CFLAGS)

Matthias Clasen's avatar
Matthias Clasen committed
11
12
DEPS = \
	$(top_builddir)/gtk/libgtk-3.0.la
13

Matthias Clasen's avatar
Matthias Clasen committed
14
15
16
LDADDS = \
	$(top_builddir)/gtk/libgtk-3.0.la	\
	$(GTK_DEP_LIBS)				\
17
	-lm
18

Anders Carlsson's avatar
Anders Carlsson committed
19
if USE_X11
20
21
noinst_PROGRAMS = 		\
	doc-shooter
22
endif
23
24
25
26
27
28
29
30
31
32
33

doc_shooter_DEPENDENCIES = $(DEPS)
doc_shooter_LDADD = $(LDADDS)
doc_shooter_SOURCES=	\
	shadow.c	\
	shadow.h	\
	shooter.c	\
	widgets.c	\
	widgets.h

clean-local:
Matthias Clasen's avatar
Matthias Clasen committed
34
	for file in *.png; do \
Matthias Clasen's avatar
Matthias Clasen committed
35
	  case "$$file" in \
Matthias Clasen's avatar
Matthias Clasen committed
36
	    folder.png|gnome.png) ;; \
Matthias Clasen's avatar
Matthias Clasen committed
37
38
39
	    *) rm -f $$file ;; \
	  esac ; \
	done
40
41

-include $(top_srcdir)/git.mk