blob: 9f3d47c8b831031ee2e313f6c5dac6f3875da88d (
plain) (
blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# hacks/images/Makefile.in --- xscreensaver, Copyright (c) 2018 Jamie Zawinski.
# the `../configure' script generates `hacks/images/Makefile' from this file.
srcdir = .
VPATH = ${srcdir} ${srcdir}/bubbles ${srcdir}/m6502 \
${srcdir}/molecules ${srcdir}/noseguy
top_srcdir = ../..
UTILS_SRC = $(top_srcdir)/utils
RM = rm -f
STAR = *
TARFILES = Makefile \
Makefile.in \
$(STAR).png \
$(STAR).gif \
$(STAR)/$(STAR).png \
$(STAR)/$(STAR).asm \
$(STAR)/$(STAR).pdb \
$(STAR)/$(STAR).pov \
$(STAR)/$(STAR).txt \
PNG_HDRS = $(shell find $(srcdir) -name \*.png | \
sed 's@^.*/\(.*\)\.\(png\)$$@gen/\1_\2.h@')
default: all
all: gen $(PNG_HDRS)
gen:
mkdir gen
# %.png dependency below works because VPATH contains subdirs
# of 'images' dir not only 'images' itself
gen/%_png.h: %.png
echo $(UTILS_SRC)/bin2c "$<" "$@"
$(UTILS_SRC)/bin2c "$<" "$@"
clean:
$(RM) -r gen
echo_tarfiles:
@echo $(TARFILES)
install:
install-program:
install-man:
install-strip:
uninstall:
uninstall-program:
uninstall-man:
depend:
distdepend:
tags:
|