"Fossies" - the Fresh Open Source Software Archive

Member "rename-1.3/Makefile.in" (19 May 2002, 731 Bytes) of package /linux/privat/old/rename-1.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 #DEBUG = -g -DDEBUG
    3 VERSION = -DVERSION=\"1.3\"
    4 
    5 CC = @CC@
    6 PREFIX = @prefix@
    7 BINDIR = @prefix@/bin
    8 MANDIR = @prefix@/man/man1
    9 
   10 DEFINES = -DHAVE_CONFIG_H ${VERSION}
   11 CFLAGS = -Wall -O3 ${DEBUG} ${DEFINES}
   12 
   13 
   14 OBJS = rename.o fixtoken.o misc.o @LIBOBJS@
   15 
   16 all: rename
   17 
   18 rename:	$(OBJS)
   19 	$(CC) $(CFLAGS) -o $@ $^
   20 	strip $@
   21 
   22 static:	$(OBJS)
   23 	$(CC) $(CFLAGS) -static -o $@ $^
   24 
   25 .PHONY: clean clean-all install
   26 clean:
   27 	rm -f core rename *.o 
   28 
   29 clean-all:
   30 	rm -f core rename *.o config.status config.cache config.h config.log Makefile
   31 
   32 install:
   33 	install -o root -g root -m 0755 -s rename $(BINDIR)
   34 	install -o root -g root -m 0644 rename.1 $(MANDIR)
   35 	
   36 rename.o: rename.c rename.h
   37 regex.o: regex.c regex.h
   38 fixtoken.o: fixtoken.c
   39 misc.o: misc.c
   40