diff TOOLS/Makefile @ 20755:b4c865e17155

Create binaries with proper executable suffix under Windows.
author diego
date Wed, 08 Nov 2006 00:13:33 +0000
parents 64d82a45a05d
children 9725193f1530
line wrap: on
line diff
--- a/TOOLS/Makefile	Wed Nov 08 00:11:42 2006 +0000
+++ b/TOOLS/Makefile	Wed Nov 08 00:13:33 2006 +0000
@@ -2,22 +2,22 @@
 
 CFLAGS = -I..
 
-OBJS = alaw-gen \
-	asfinfo \
-	avi-fix \
-	avisubdump \
-	bios2dump \
-	dump_mp4 \
-	mem2dump \
-	movinfo \
-	png2raw \
-	subrip \
-	vivodump \
-	302m_convert \
-	360m_convert \
+OBJS = alaw-gen$(EXESUF) \
+	asfinfo$(EXESUF) \
+	avi-fix$(EXESUF) \
+	avisubdump$(EXESUF) \
+	bios2dump$(EXESUF) \
+	dump_mp4$(EXESUF) \
+	mem2dump$(EXESUF) \
+	movinfo$(EXESUF) \
+	png2raw$(EXESUF) \
+	subrip$(EXESUF) \
+	vivodump$(EXESUF) \
+	302m_convert$(EXESUF) \
+	360m_convert$(EXESUF) \
 
 ifeq ($(TARGET_ARCH_X86),yes)
-OBJS += cpuinfo fastmemcpybench
+OBJS += cpuinfo$(EXESUF) fastmemcpybench
 endif
 
 all: $(OBJS)
@@ -34,14 +34,14 @@
 	$(CC) $(CFLAGS) -o $@ $< ../mp_msg.o ../libmpdemux/libmpdemux.a ../stream/stream.a
 
 fastmemcpybench: fastmemcpybench.c
-	$(CC) $(CFLAGS) -g $< -o fastmem-mmx  ../libvo/aclib.o -DNAME=\"mmx\"      -DHAVE_MMX
-	$(CC) $(CFLAGS) -g $< -o fastmem-k6   ../libvo/aclib.o -DNAME=\"k6\ \"     -DHAVE_MMX -DHAVE_3DNOW
-	$(CC) $(CFLAGS) -g $< -o fastmem-k7   ../libvo/aclib.o -DNAME=\"k7\ \"     -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
-	$(CC) $(CFLAGS) -g $< -o fastmem-sse  ../libvo/aclib.o -DNAME=\"sse\"      -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2
-	$(CC) $(CFLAGS) -g $< -o fastmem2-mmx ../libvo/aclib.o -DNAME=\"mga-mmx\"  -DHAVE_MGA -DHAVE_MMX
-	$(CC) $(CFLAGS) -g $< -o fastmem2-k6  ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW 
-	$(CC) $(CFLAGS) -g $< -o fastmem2-k7  ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
-	$(CC) $(CFLAGS) -g $< -o fastmem2-sse ../libvo/aclib.o -DNAME=\"mga-sse\"  -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2
+	$(CC) $(CFLAGS) -g $< -o fastmem-mmx$(EXESUF)  ../libvo/aclib.o -DNAME=\"mmx\"      -DHAVE_MMX
+	$(CC) $(CFLAGS) -g $< -o fastmem-k6$(EXESUF)   ../libvo/aclib.o -DNAME=\"k6\ \"     -DHAVE_MMX -DHAVE_3DNOW
+	$(CC) $(CFLAGS) -g $< -o fastmem-k7$(EXESUF)   ../libvo/aclib.o -DNAME=\"k7\ \"     -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
+	$(CC) $(CFLAGS) -g $< -o fastmem-sse$(EXESUF)  ../libvo/aclib.o -DNAME=\"sse\"      -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2
+	$(CC) $(CFLAGS) -g $< -o fastmem2-mmx$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-mmx\"  -DHAVE_MGA -DHAVE_MMX
+	$(CC) $(CFLAGS) -g $< -o fastmem2-k6$(EXESUF)  ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW
+	$(CC) $(CFLAGS) -g $< -o fastmem2-k7$(EXESUF)  ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
+	$(CC) $(CFLAGS) -g $< -o fastmem2-sse$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-sse\"  -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2
 
 clean:
 	rm -f $(OBJS)