makefile.msc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## Makefile for building the GIMP DLLs and LIBs with Microsoft C.
  2. ## Use: nmake -f makefile.msc
  3. # Change this to wherever you want to install the DLLs. This directory
  4. # should be in your PATH. As these DLLs are for the GIMP and its plug-ins
  5. # only, it probably is best to keep them in the GIMP's bin directory.
  6. BIN = C:\install\gimp\bin
  7. TOP = ..\..
  8. !include $(TOP)\glib\build\win32\make.msc
  9. GIMP_VER = 1.3
  10. # The name of the directory in your %HOME% where the GIMP's personal settings
  11. # and stuff is saved.
  12. GIMPDIR = _gimp$(GIMP_VER)
  13. ################################################################
  14. # Nothing much configurable below
  15. INCLUDES = -I..
  16. # DEFINES = -DG_LOG_DOMAIN=\"LibGimpMath\"
  17. DEPCFLAGS = \
  18. -FImsvc_recommended_pragmas.h \
  19. $(GLIB_CFLAGS)
  20. DEPLIBS = $(GLIB_LIBS)
  21. all : \
  22. ..\config.h \
  23. gimpmath-$(GIMP_VER).dll
  24. ..\config.h : ..\config.h.win32
  25. copy ..\config.h.win32 ..\config.h
  26. install : all
  27. $(INSTALL) gimpmath-$(GIMP_VER).dll $(BIN)
  28. OBJECTS = \
  29. gimpmatrix.obj \
  30. gimpmd5.obj \
  31. gimpvector.obj \
  32. gimpmath-$(GIMP_VER).dll : $(OBJECTS) gimpmath.def
  33. $(CC) $(CFLAGS) -LD -Fegimpmath-$(GIMP_VER).dll $(OBJECTS) $(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpmath.def