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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 112 - (download) (annotate)
Sat May 10 00:44:43 2008 UTC (18 months, 1 week ago) by cocidius
File size: 716 byte(s)
Release 2.0.5 tag
    1 
    2 GIMPTOOL=gimptool-2.0
    3 
    4 CC=gcc
    5 CFLAGS=-pipe -O2 -Wall -march=i686 `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
   12 OBJS=$(SRCS:.c=.o)
   13 
   14 LIBS=`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
   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
   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

ViewVC Help
Powered by ViewVC 1.0.4