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

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

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: 654 byte(s)
1.2.1 release
    1 
    2 GIMPTOOL=gimptool-2.0
    3 
    4 CC=gcc
    5 CFLAGS=-pipe -O3 -Wall `pkg-config --cflags gtk+-2.0 gimp-2.0`
    6 LD=gcc
    7 LDFLAGS=
    8 
    9 TARGET=dds
   10 
   11 SRCS=dds.c ddsread.c ddswrite.c dxt.c
   12 OBJS=$(SRCS:.c=.o)
   13 
   14 LIBS=`pkg-config --libs gtk+-2.0 gimp-2.0 gimpui-2.0` -L/usr/X11R6/lib \
   15 -lGL -lGLU -lglut -lGLEW
   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 dxt.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 dds.h endian.h

ViewVC Help
Powered by ViewVC 1.0.4