aboutsummaryrefslogtreecommitdiff
path: root/dxtn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dxtn/Makefile')
-rw-r--r--dxtn/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/dxtn/Makefile b/dxtn/Makefile
index 975063f8b..b014f81cd 100644
--- a/dxtn/Makefile
+++ b/dxtn/Makefile
@@ -1,18 +1,10 @@
-CFLAGS += -Wall -pedantic -fPIC
-OPT_CFLAGS = -O3
-LDFLAGS += -shared -fPIC
-OBJS = txc_compress_dxtn.o txc_fetch_dxtn.o
-LIB = libtxc_dxtn.so
+SHAREDLIB = dxtn
-$(LIB): $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS)
+CSRCS = \
+ txc_compress_dxtn.c \
+ txc_fetch_dxtn.cc
-%.o: %.c txc_dxtn.h
- $(CC) $(CFLAGS) $(OPT_CFLAGS) -c -o $@ $<
+INCLUDES += $(MHMAKECONF)\mesalib\include
-clean:
- rm -f $(OBJS) $(LIB)
+CCFLAGS += -TP
-install: $(LIB)
- install -d $(DESTDIR)/usr/lib
- install -m 755 $(LIB) $(DESTDIR)/usr/lib