"Fossies" - the Fresh Open Source Software Archive

Member "sqlupdate-1.6.6/Makefile" (25 Feb 2012, 859 Bytes) of package /linux/privat/old/sqlupdate-1.6.6.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 VERSION=1.6.6
    2 ARCHNAME=sqlupdate-$(VERSION)
    3 ARCHDIR=archives/
    4 ARCHFILES=sqlupdate.cc virhefiltteri.c \
    5           Makefile.sets Makefile.sets.in configure \
    6           COPYING progdesc.php
    7 
    8 INSTALL=install
    9 INSTALLPROGS=sqlupdate
   10 BINDIR=/usr/local/bin
   11 
   12 include Makefile.sets
   13 
   14 all: sqlupdate
   15 
   16 sqlupdate: sqlupdate.o
   17 	$(CXX) -o $@ $(CXXFLAGS) $^ $(LDFLAGS)
   18 sqlupdate.o: sqlupdate.cc
   19 	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
   20 
   21 sqlupdate.wo: sqlupdate.cc
   22 	i686-w64-mingw32-g++ $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
   23 sqlupdate.exe: sqlupdate.wo
   24 	i686-w64-mingw32-g++ -static $(CXXFLAGS) $(CPPFLAGS) -o $@ $^
   25 	i686-w64-mingw32-strip $@
   26 	- upx --best $@
   27 
   28 clean:
   29 	rm -f *.o sqlupdate
   30 distclean: clean
   31 	
   32 realclean: distclean
   33 	
   34 include depfun.mak
   35 
   36 install: install${DEPFUN_INSTALL}
   37 uninstall: uninstall${DEPFUN_INSTALL}
   38 
   39 .PHONY: install uninstall clean distclean realclean