~ubuntu-branches/ubuntu/hoary/s390-tools/hoary

« back to all changes in this revision

Viewing changes to fdasd/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2004-06-27 18:45:15 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040627184515-q7lnvli1j94gr6dv
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Include common definitions
 
2
include ../common.mak
 
3
 
 
4
CFLAGS        = -Wall -I../include
 
5
 
 
6
all: fdasd
 
7
 
 
8
fdasd: ../libvtoc/vtoc.o fdasd.c fdasd.h
 
9
        $(CC) $(CFLAGS) -c fdasd.c -o fdasd.o
 
10
        $(CC) fdasd.o ../libvtoc/vtoc.o -o fdasd 
 
11
 
 
12
install:
 
13
        $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8
 
14
        $(STRIP) fdasd
 
15
        $(INSTALL) -g $(GROUP) -o $(OWNER) -m 700 fdasd $(BINDIR)
 
16
        $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 fdasd.8  $(MANDIR)/man8 
 
17
 
 
18
clean:
 
19
        rm -f *.o *~ fdasd core
 
20