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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (download) (annotate)
Wed Jan 31 18:56:21 2007 UTC (2 years, 9 months ago) by cocidius
File size: 689 byte(s)
1.2.1 release
    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
   13 OBJS=$(SRCS:.c=.o)
   14 
   15 LIBS=`pkg-config --libs gtk+-2.0 gimp-2.0 gimpui-2.0` -lopengl32 -lglu32 \
   16 -lglut32 -lglew32
   17 
   18 all: $(TARGET)
   19 
   20 $(TARGET): $(OBJS)
   21    $(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET)
   22 
   23 clean:
   24    rm -f *.o $(TARGET)
   25 
   26 install: all
   27    $(GIMPTOOL) --install-bin $(TARGET)
   28 
   29 .c.o:
   30    $(CC) -c $(CFLAGS) $<
   31 
   32 dds.o: dds.c ddsplugin.h dds.h dxt.h
   33 ddsread.o: ddsread.c ddsplugin.h dds.h dxt.h endian.h
   34 ddswrite.o: ddswrite.c ddsplugin.h dds.h dxt.h endian.h
   35 dxt.o: dxt.c dds.h endian.h
   36 

ViewVC Help
Powered by ViewVC 1.0.4