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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 80 - (download) (annotate)
Fri Nov 2 23:28:56 2007 UTC (2 years ago) by cocidius
File size: 714 byte(s)
I think i got it this time... Create release 2.0 tag.
    1 
    2 GIMPTOOL=gimptool-2.0
    3 
    4 CC=gcc
    5 CFLAGS=-pipe -O3 -Wall -march=i586 -mtune=i686 \
    6 `pkg-config --cflags gtk+-2.0 gimp-2.0`
    7 LD=gcc
    8 LDFLAGS=-mwindows
    9 
   10 TARGET=dds.exe
   11 
   12 SRCS=dds.c ddsread.c ddswrite.c dxt.c mipmap.c
   13 OBJS=$(SRCS:.c=.o)
   14 
   15 LIBS=`pkg-config --libs gtk+-2.0 gimp-2.0 gimpui-2.0`
   16 
   17 all: $(TARGET)
   18 
   19 $(TARGET): $(OBJS)
   20    $(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET)
   21 
   22 clean:
   23    rm -f *.o $(TARGET)
   24 
   25 install: all
   26    $(GIMPTOOL) --install-bin $(TARGET)
   27 
   28 .c.o:
   29    $(CC) -c $(CFLAGS) $<
   30 
   31 dds.o: dds.c ddsplugin.h dds.h
   32 ddsread.o: ddsread.c ddsplugin.h dds.h dxt.h endian.h
   33 ddswrite.o: ddswrite.c ddsplugin.h dds.h dxt.h endian.h
   34 dxt.o: dxt.c dxt.h dxt_tables.h dds.h endian.h mipmap.h
   35 mipmap.o: mipmap.c mipmap.h dds.h

ViewVC Help
Powered by ViewVC 1.0.4