updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / aesthe-svn / Makefile
blob5fe913353f72da6886e971790b9873a611c2c06f
1 PROJECT = aesthe
2 USR_PATH = $(PKGDIR)/usr
3 INSTALL_OPTS = -o root -g root -v
4 INSTALL_OPTS_2 = $(INSTALL_OPTS_BIN) -m 644
6 all:
7 cd src; make all
9 clean:
10 cd src; make clean
12 run:
13 cd src; make run
15 runexamples:
16 cd src; make runexamples
18 install: all uninstall
19 install -d $(USR_PATH)/bin
20 install -d $(USR_PATH)/share
21 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)
22 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)/image
23 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)/image/example
24 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)/model
25 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)/model/example
26 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)/script
27 install $(INSTALL_OPTS) -d $(USR_PATH)/share/$(PROJECT)/script/example
28 install $(INSTALL_OPTS) bin/aesthe $(USR_PATH)/bin
29 install $(INSTALL_OPTS_2) image/*.ppm $(USR_PATH)/share/$(PROJECT)/image
30 install $(INSTALL_OPTS_2) image/example/*.ppm $(USR_PATH)/share/$(PROJECT)/image/example
31 install $(INSTALL_OPTS_2) model/example/*.aexi $(USR_PATH)/share/$(PROJECT)/model/example
32 install $(INSTALL_OPTS_2) script/*.lua $(USR_PATH)/share/$(PROJECT)/script
33 install $(INSTALL_OPTS_2) script/example/*.lua $(USR_PATH)/share/$(PROJECT)/script/example
35 uninstall:
36 rm -f $(USR_PATH)/bin/aesthe
37 rm -rf $(USR_PATH)/share/$(PROJECT)