[gimp-dds] / tags / release-2.0.7 / Makefile.win32 Repository:
ViewVC logotype

View of /tags/release-2.0.7/Makefile.win32

Parent Directory Parent Directory | Revision Log Revision Log


Revision 126 - (download) (annotate)
Fri Dec 12 19:25:26 2008 UTC (11 months, 1 week ago) by cocidius
File size: 783 byte(s)
Release 2.0.7 tag
    1 
    2 GIMPTOOL=gimptool-2.0
    3 
    4 CC=gcc
    5 CFLAGS=-pipe -O2 -Wall -march=i686 $(shell pkg-config --cflags gtk+-2.0 gimp-2.0)
    6 LD=gcc
    7 LDFLAGS=-mwindows
    8 
    9 TARGET=dds.exe
   10 
   11 SRCS=dds.c ddsread.c ddswrite.c dxt.c mipmap.c misc.c
   12 OBJS=$(SRCS:.c=.o)
   13 
   14 LIBS=$(shell pkg-config --libs gtk+-2.0 gimp-2.0 gimpui-2.0)
   15 
   16 all: $(TARGET)
   17 
   18 $(TARGET): $(OBJS)
   19    $(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET)
   20 
   21 clean:
   22    rm -f *.o $(TARGET)
   23 
   24 install: all
   25    $(GIMPTOOL) --install-bin $(TARGET)
   26 
   27 .c.o:
   28    $(CC) -c $(CFLAGS) $<
   29 
   30 dds.o: dds.c ddsplugin.h dds.h misc.h
   31 ddsread.o: ddsread.c ddsplugin.h dds.h dxt.h endian.h
   32 ddswrite.o: ddswrite.c ddsplugin.h dds.h dxt.h endian.h imath.h mipmap.h
   33 dxt.o: dxt.c dxt.h dxt_tables.h dds.h endian.h mipmap.h imath.h
   34 mipmap.o: mipmap.c mipmap.h dds.h imath.h
   35 misc.o: misc.c misc.h

ViewVC Help
Powered by ViewVC 1.0.4