diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-27 12:00:55 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-27 12:00:55 +0000 |
commit | e6eeef436bb5dc82a0442a2e99bef102c4451c98 (patch) | |
tree | f6798d94198cfaf93f3d2275fb1d6bbdcf79d24a | |
parent | b7ffad3d0ab50709c323a64ef24e7de919033a0a (diff) |
Simplify the addition of -g to some CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24244 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | TOOLS/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/TOOLS/Makefile b/TOOLS/Makefile index a61fac6511..b4cd5f855c 100644 --- a/TOOLS/Makefile +++ b/TOOLS/Makefile @@ -17,7 +17,7 @@ COMMON_LIBS = ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a -ltermcap -lm all: $(OBJS) subrip$(EXESUF): subrip.c - $(CC) $(CFLAGS) -g -o $@ $< ../vobsub.o ../spudec.o \ + $(CC) $(CFLAGS) -o $@ $< ../vobsub.o ../spudec.o \ ../unrarlib.o ../libswscale/libswscale.a ../libavutil/libavutil.a \ ../libmpcodecs/img_format.o $(COMMON_LIBS) @@ -27,14 +27,14 @@ vivodump$(EXESUF): vivodump.c ../stream/stream.a $(COMMON_LIBS) fastmemcpybench: fastmemcpybench.c - $(CC) $(CFLAGS) -g $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX - $(CC) $(CFLAGS) -g $< -o fastmem-k6$(EXESUF) -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW - $(CC) $(CFLAGS) -g $< -o fastmem-k7$(EXESUF) -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 - $(CC) $(CFLAGS) -g $< -o fastmem-sse$(EXESUF) -DNAME=\"sse\" -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 - $(CC) $(CFLAGS) -g $< -o fastmem2-mmx$(EXESUF) -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX - $(CC) $(CFLAGS) -g $< -o fastmem2-k6$(EXESUF) -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW - $(CC) $(CFLAGS) -g $< -o fastmem2-k7$(EXESUF) -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 - $(CC) $(CFLAGS) -g $< -o fastmem2-sse$(EXESUF) -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 + $(CC) $(CFLAGS) $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX + $(CC) $(CFLAGS) $< -o fastmem-k6$(EXESUF) -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW + $(CC) $(CFLAGS) $< -o fastmem-k7$(EXESUF) -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 + $(CC) $(CFLAGS) $< -o fastmem-sse$(EXESUF) -DNAME=\"sse\" -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 + $(CC) $(CFLAGS) $< -o fastmem2-mmx$(EXESUF) -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX + $(CC) $(CFLAGS) $< -o fastmem2-k6$(EXESUF) -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW + $(CC) $(CFLAGS) $< -o fastmem2-k7$(EXESUF) -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 + $(CC) $(CFLAGS) $< -o fastmem2-sse$(EXESUF) -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 bmovl-test$(EXESUF): bmovl-test.c $(CC) $(CFLAGS) -o $@ $< -lSDL_image @@ -46,7 +46,8 @@ REAL_SRCS = $(wildcard realcodecs/*.c) REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0) realcodecs: $(REAL_TARGETS) -realcodecs: CFLAGS += -g + +subrip fastmemcpybench realcodecs: CFLAGS += -g %.so.6.0: %.o ld -shared -o $@ $< -ldl -lc |