From c2c3ce5abd338cb6345780cb86c30ca9f34a6562 Mon Sep 17 00:00:00 2001 From: marha Date: Sat, 25 Dec 2010 19:10:23 +0000 Subject: Added sources of dxtn. See getsrc.btm used for getting the sources --- dxtn/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dxtn/Makefile (limited to 'dxtn/Makefile') diff --git a/dxtn/Makefile b/dxtn/Makefile new file mode 100644 index 000000000..975063f8b --- /dev/null +++ b/dxtn/Makefile @@ -0,0 +1,18 @@ +CFLAGS += -Wall -pedantic -fPIC +OPT_CFLAGS = -O3 +LDFLAGS += -shared -fPIC +OBJS = txc_compress_dxtn.o txc_fetch_dxtn.o +LIB = libtxc_dxtn.so + +$(LIB): $(OBJS) + $(CC) $(LDFLAGS) -o $@ $(OBJS) + +%.o: %.c txc_dxtn.h + $(CC) $(CFLAGS) $(OPT_CFLAGS) -c -o $@ $< + +clean: + rm -f $(OBJS) $(LIB) + +install: $(LIB) + install -d $(DESTDIR)/usr/lib + install -m 755 $(LIB) $(DESTDIR)/usr/lib -- cgit v1.2.3