File: XMakefile

package info (click to toggle)
diablo 1.13-1
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 804 kB
  • ctags: 875
  • sloc: ansic: 8,308; perl: 1,908; sh: 186; csh: 81; makefile: 67
file content (25 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
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

#include "XMakefile.inc"

all:
    xmake -f lib/XMakefile all
    xmake -f util/XMakefile all
    xmake -f sup/XMakefile all
    xmake -f contrib/XMakefile all

clean:
    xmake -f lib/XMakefile clean
    xmake -f util/XMakefile clean
    xmake -f sup/XMakefile clean
    xmake -f contrib/XMakefile clean

install: all
    xmake -f XMakefile.inst

dist: clean
    (cd ..; tar czf $(DIST)/diablo.tgz.new diablo)
    chmod 644 $(DIST)/diablo.tgz.new
    chown dillon $(DIST)/diablo.tgz.new
    chgrp dillon $(DIST)/diablo.tgz.new
    mv $(DIST)/diablo.tgz.new $(DIST)/diablo-$(VERS).tgz