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
|
# Uncomment the following line to debug with Electric Fence.
#EFENCE = -lefence
# Uncomment the following to allow profiling.
#PROFILE = -pg
include makeinfo
all: ticker
ticker: ticker.c
$(CC) ticker.c -o ticker $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) $(LIBS)
demo: ticker
PATH=.:$$PATH ./ticker "This is a test..."
distclean: clean
find . -name '\#*\#' -o -name '*.bak' -o -name '.??*' -o \
-name '*~' -o -name '.gdb_history' -exec rm {} \;
rm -f gmon.out config.h config.cache config.log config.status \
makeinfo slang.h
clean:
rm -f ticker
install:
$(INSTALL) -d $(DESTDIR)/$(MANDIR)/man1 $(DESTDIR)/$(BINDIR)
$(INSTALL_PROGRAM) ticker $(DESTDIR)/$(BINDIR)
$(INSTALL) -m 0644 ticker.1 $(DESTDIR)/$(MANDIR)/man1
configure: configure.ac
autoconf
config.status: configure
./configure
makeinfo: autoconf/makeinfo.in config.status
./config.status
|