home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Linux / gimp-2.2.0.tar.gz / gimp-2.2.0.tar / gimp-2.2.0 / libgimpmath / makefile.msc < prev    next >
Makefile  |  2004-02-07  |  874b  |  40 lines

  1. ## Makefile for building the GIMP DLLs and LIBs with Microsoft C.
  2. ## Use: nmake -f makefile.msc
  3.  
  4. TOP = ..\..
  5. PRJ_TOP = ..
  6. !include $(TOP)\glib\build\win32\make.msc
  7.  
  8. !INCLUDE $(PRJ_TOP)\gimpdefs.msc
  9. PKG_VER = $(GIMP_VER)
  10.  
  11. ################################################################
  12.  
  13. # Nothing much configurable below
  14.  
  15. INCLUDES = -I.. 
  16. # DEFINES = -DG_LOG_DOMAIN=\"LibGimpMath\"
  17. DEPCFLAGS = \
  18.     -FImsvc_recommended_pragmas.h \
  19.     $(GLIB_CFLAGS)
  20. DEPLIBS = $(GLIB_LIBS)
  21.  
  22. all : \
  23.     ..\config.h \
  24.     gimpmath-$(GIMP_VER).dll
  25.  
  26. ..\config.h : ..\config.h.win32
  27.     copy ..\config.h.win32 ..\config.h
  28.  
  29. install : all
  30.     $(INSTALL) gimpmath-$(GIMP_VER).dll $(BIN)
  31.  
  32. OBJECTS = \
  33.     gimpmatrix.obj \
  34.     gimpmd5.obj \
  35.     gimpvector.obj \
  36.  
  37. gimpmath-$(GIMP_VER).dll : $(OBJECTS) gimpmath.def
  38.     $(CC) $(CFLAGS) -LD -Fegimpmath-$(GIMP_VER).dll $(OBJECTS) $(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpmath.def
  39.  
  40.