X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fimages%2FMakefile;fp=hacks%2Fimages%2FMakefile;h=942e7f9949aa9fbe18b7dd033f90f60e1d7ee06e;hp=0000000000000000000000000000000000000000;hb=78add6e627ee5f10e1fa6f3852602ea5066eee5a;hpb=39809ded547bdbb08207d3e514950425215b4410 diff --git a/hacks/images/Makefile b/hacks/images/Makefile new file mode 100644 index 00000000..942e7f99 --- /dev/null +++ b/hacks/images/Makefile @@ -0,0 +1,46 @@ +# hacks/images/Makefile --- xscreensaver, Copyright (c) 2018 Jamie Zawinski. + +srcdir = . +UTILS_SRC = $(srcdir)/../../utils +RM = rm -f + +STAR = * +TARFILES = Makefile \ + $(STAR).png \ + $(STAR).gif \ + $(STAR)/$(STAR).png \ + $(STAR)/$(STAR).asm \ + $(STAR)/$(STAR).pdb \ + $(STAR)/$(STAR).pov \ + $(STAR)/$(STAR).txt \ + +default:: all + +all:: + @if [ ! -d gen ]; then mkdir gen ; fi + @for f in *.png */*.png ; do \ + f2=`echo "$$f" | \ + sed -e 's@^.*/@@' \ + -e 's@^\(.*\)\.\([^./]*\)$$@gen/\1_\2.h@'` ; \ + if [ ! -f "$$f2" -o "$$f" -nt "$$f2" ]; then \ + echo $(UTILS_SRC)/bin2c "$$f" "$$f2" ; \ + $(UTILS_SRC)/bin2c "$$f" "$$f2" ; \ + fi ; \ + done + +clean:: + $(RM) -r gen + +echo_tarfiles: + @echo $(TARFILES) + +install: +install-program: +install-man: +install-strip: +uninstall: +uninstall-program: +uninstall-man: +depend: +distdepend: +tags: