5 # Written by Keith Marshall <keithmarshall@users.sourceforge.net>
6 # Copyright (C) 2009, MinGW Project
9 # Makefile template for mingw-get
12 # This is free software. Permission is granted to copy, modify and
13 # redistribute this software, under the provisions of the GNU General
14 # Public License, Version 3, (or, at your option, any later version),
15 # as published by the Free Software Foundation; see the file COPYING
16 # for licensing details.
18 # Note, in particular, that this software is provided "as is", in the
19 # hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not
20 # even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY
21 # PARTICULAR PURPOSE. Under no circumstances will the author, or the
22 # MinGW Project, accept liability for any damages, however caused,
23 # arising from the use of this software.
27 VPATH = ${srcdir}/src ${srcdir}/src/pkginfo ${srcdir}/tinyxml
31 CPPFLAGS = @CPPFLAGS@ $(INCLUDES)
36 INCLUDES = -I ${srcdir}/src -I ${srcdir}/src/pkginfo
50 $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
53 $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
57 pkginfo$(EXEEXT): driver.$(OBJEXT) pkginfo.$(OBJEXT)
58 $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $+
60 driver.$(OBJEXT): pkginfo.h
61 pkginfo.$(OBJEXT): pkginfo.l pkginfo.h
64 rm -f *.$(OBJEXT) *.dll pkginfo$(EXEEXT)
67 rm -f config.* Makefile
69 # $RCSfile$: end of file