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
|
ALL = \
build/quake3 \
build/quake3-server \
build/quake3.png \
build/quake3.xpm \
build/quake332.xpm
all: $(ALL)
build/quake3: quake3.in Makefile
install -d build
sed \
-e 's!@IOQ3BINARY@!ioquake3!' \
-e 's!@IOQ3SELF@!quake3!' \
-e 's!@IOQ3ROLE@!client!' \
< $< > $@
chmod +x $@
build/quake3-server: quake3.in Makefile
install -d build
sed \
-e 's!@IOQ3BINARY@!ioq3ded!' \
-e 's!@IOQ3SELF@!quake3!' \
-e 's!@IOQ3ROLE@!server!' \
< $< > $@
chmod +x $@
build/quake3.png: quake3-tango.xcf
install -d build
xcf2png -o $@ $<
build/quake3.xpm: build/quake3.png
convert $< $@
build/quake332.xpm: build/quake3.png
convert -resize 32x32 $< $@
clean:
rm -rf build
|