~ubuntu-branches/ubuntu/oneiric/libpgjava/oneiric

« back to all changes in this revision

Viewing changes to src/tools/entab/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2005-04-21 14:25:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050421142511-wibh5vc31fkrorx7
Tags: 7.4.7-3
Built with sources...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Makefile
 
3
#
 
4
#
 
5
TARGET = entab
 
6
BINDIR = /usr/local/bin
 
7
XFLAGS = 
 
8
CFLAGS = -O
 
9
LIBS = 
 
10
 
 
11
$(TARGET) : entab.o halt.o
 
12
        $(CC) -o $(TARGET) $(XFLAGS) $(CFLAGS) entab.o halt.o $(LIBS)
 
13
 
 
14
entab.o : entab.c 
 
15
        $(CC) -c $(XFLAGS) $(CFLAGS) entab.c
 
16
 
 
17
halt.o  : halt.c 
 
18
        $(CC) -c $(XFLAGS) $(CFLAGS) halt.c
 
19
 
 
20
clean:
 
21
        rm -f *.o $(TARGET) log core
 
22
 
 
23
install:
 
24
        make clean
 
25
        make CFLAGS=-O
 
26
        install -s -o bin -g bin $(TARGET) $(BINDIR)
 
27
        rm -f $(BINDIR)/detab
 
28
        ln /usr/local/bin/$(TARGET) $(BINDIR)/detab
 
29