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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
# Generated automatically from Makefile.in by configure.
# Makefile for hexedit
PRODUCT = hexedit
VERSION = 1.0.0
SHELL = /bin/sh
CC = gcc
CFLAGS = -g -O2
LDFLAGS =
LIBS = -lcurses
DEFS = -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MEMCMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_BASENAME=1
INSTALL = /usr/bin/install -c
# Installation directories
prefix = debian/tmp/usr
exec_prefix = ${prefix}
mandir = ${prefix}/man/man1
bindir = ${exec_prefix}/bin
INCL = hexedit.h
SRCS = hexedit.c display.c mark.c page.c file.c interact.c misc.c search.c
OBJS = $(SRCS:.c=.o)
.SUFFIXES: .c .o
.c.o:
$(CC) $(DEFS) $(CFLAGS) -c $<
all: $(PRODUCT)
$(PRODUCT): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
clean:
rm -f *~ *.o core $(PRODUCT)
distclean: clean
rm -f Makefile config.cache config.status config.log
install: $(PRODUCT)
$(INSTALL) -d -m 755 $(bindir)
$(INSTALL) -s -m 755 -o root $(PRODUCT) $(bindir)
$(INSTALL) -d -m 755 $(mandir)
$(INSTALL) -m 644 -o root $(PRODUCT).1 $(mandir)
|