blob: 218df56d6f5b495db23bec6839f4fd475f56f820 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PREFIX = /usr
PACKAGE = xdemineur
DEBUG = no
CVSBUILD = no
VERSION = 0.28
MEMBERS = demineur main xdemineur util
LINGUAS =
PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS)
PACKAGE_CFLAGS += $(STANDARD_CFLAGS)
PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) -lX11 -lXpm
DEPS = $(patsubst %,%.d,$(MEMBERS))
OBJS = $(patsubst %,%.o,$(MEMBERS))
SOURCES = $(patsubst %,%.c,$(MEMBERS))
all: xdemineur
xdemineur: $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
install: all
install -d $(DESTDIR)$(PREFIX)/bin
install xdemineur $(DESTDIR)$(PREFIX)/bin/xdemineur
install -D -m 644 xdemineur.xpm $(DESTDIR)$(PREFIX)/share/pixmaps/xdemineur.xpm
install -D -m 644 familiar/xdemineur.png $(DESTDIR)$(PREFIX)/share/pixmaps/xdemineur.png
install -d $(DESTDIR)$(PREFIX)/share/applications
install -m 644 familiar/$(PACKAGE).desktop $(DESTDIR)$(PREFIX)/share/applications/
|