aboutsummaryrefslogtreecommitdiff
path: root/tools/TexturePacker/Makefile.in
blob: 6058c043da4d1bcfb8aa1057f63cb03e2e5069b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARCH=@ARCH@
INCLUDES =-I../../xbmc/utils -I../../guilib -I../../xbmc/linux -I../../xbmc/lib/libsquish
DEFINES = 
ifeq ($(findstring osx,$(ARCH)),osx)
LIBS = ../../xbmc/lib/libsquish/libsquish-@ARCH@.a -L/opt/local/lib -lSDL_image -lSDL -llzo
else
LIBS = ../../xbmc/lib/libsquish/libsquish-@ARCH@.a -lSDL_image -lSDL -llzo2
endif

OBJS = \
	SDL_anigif.o \
	XBTFWriter.o \
	XBMCTex.o \
	../../guilib/XBTF.o

TARGET = TexturePacker
CLEAN_FILES=$(TARGET)

all: $(TARGET)

include ../../Makefile.include

$(TARGET): $(OBJS)
	$(CXX) $(OBJS) $(LDFLAGS) $(LIBS) -o $(TARGET)