You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
postgres/src/tools/entab/Makefile

29 lines
462 B

#
# Makefile
#
#
TARGET = entab
BINDIR = /usr/local/bin
XFLAGS =
CFLAGS = -O
LIBS =
$(TARGET) : entab.o halt.o
$(CC) -o $(TARGET) $(XFLAGS) $(CFLAGS) entab.o halt.o $(LIBS)
entab.o : entab.c
$(CC) -c $(XFLAGS) $(CFLAGS) entab.c
halt.o : halt.c
$(CC) -c $(XFLAGS) $(CFLAGS) halt.c
clean:
rm -f *.o $(TARGET) log core
install:
make clean
make CFLAGS=-O
install -s $(TARGET) $(BINDIR)
rm -f $(BINDIR)/detab
ln $(BINDIR)/$(TARGET) $(BINDIR)/detab