~chihchun/myunity/myunity_zhTW

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Andrea Colangelo
  • Date: 2011-11-18 09:31:03 UTC
  • mfrom: (4.1.6 myunity-1.0.6)
  • Revision ID: warp10@ubuntu.com-20111118093103-am92acbxnuxk08iv
Added Makefile

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright © 2011 Fabio Colinelli
 
2
# Copyright © 2011 Davide Pedrelli
 
3
#
 
4
# This program IS free software; you can redistribute it AND / OR modify
 
5
# it under the terms OF the GNU General PUBLIC License AS published by
 
6
# the Free Software Foundation; version 3 OF the License.
 
7
#
 
8
# This program IS distributed IN the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty OF
 
10
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.See the
 
11
# GNU General PUBLIC License FOR more details.
 
12
#
 
13
# You should have received a COPY OF the GNU General PUBLIC License
 
14
#
 
15
# along WITH this program; IF NOT, WRITE TO the Free Software
 
16
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110 - 1301, USA.
 
17
 
 
18
PREFIX ?= /usr/local
 
19
 
 
20
build:
 
21
        gbc2 -a -t -p .
 
22
        gba2 .
 
23
        mv myunity*.gambas myunity
 
24
 
 
25
install: build
 
26
        install -m 755 myunity $(PREFIX)/bin/
 
27
        install -m 644 myunity.png $(PREFIX)/share/pixmaps/
 
28
        install -m 644 myunity.desktop $(PREFIX)/share/applications/
 
29
 
 
30
clean:
 
31
        rm -f myunity