"Fossies" - the Fresh Open Source Software Archive

Member "dirdiff-2.1/Makefile" (19 Apr 2005, 519 Bytes) of package /linux/privat/old/dirdiff-2.1.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 # Makefile for dirdiff
    2 #
    3 # In fact all we have to make is the libfilecmp.so.0.0 library.
    4 
    5 BINDIR=$(DESTDIR)/usr/bin
    6 LIBDIR=$(DESTDIR)/usr/lib
    7 INSTALL=install
    8 
    9 # You may need to change the -I arguments depending on your system
   10 CFLAGS=-O3 -I/usr/include/tcl8.3/ -I/usr/include/tcl
   11 
   12 all:	libfilecmp.so.0.0
   13 
   14 libfilecmp.so.0.0: filecmp.c
   15 	$(CC) $(CFLAGS) -shared -o $@ filecmp.c
   16 
   17 install: dirdiff libfilecmp.so.0.0
   18 	$(INSTALL) -c dirdiff $(BINDIR)
   19 	$(INSTALL) -c libfilecmp.so.0.0 $(LIBDIR)
   20 
   21 clean:
   22 	rm -f libfilecmp.so.0.0