1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00

Add proper compilation rules for qtx/list and qtx/qtxload and remove silly

compilation shell script.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25614 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-01-06 11:40:49 +00:00
parent 744aba2ae0
commit 444ec084df
2 changed files with 11 additions and 4 deletions

View File

@ -35,8 +35,17 @@ include ../mpcommon.mak
CFLAGS+=-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
dshow/test: dshow/test.c $(LIBNAME_COMMON) ../cpudetect.o ../get_path.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a
$(CC) $(CFLAGS) -o $@ $^ -ltermcap -ldl -lm -lpthread -g -lstdc++
TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a
TEST_LDFLAGS = -ltermcap -ldl -lm -lpthread -g
dshow/test: dshow/test.c ../get_path.o $(TEST_OBJS)
$(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS) -lstdc++
qtx/qtxload: qtx/qtxload.c $(TEST_OBJS)
$(CC) -o $@ $^ $(TEST_LDFLAGS)
qtx/list: qtx/list.c $(TEST_OBJS)
$(CC) -o $@ $^ $(TEST_LDFLAGS)
clean::
rm -f dshow/*.o dshow/*.a dshow/*~

View File

@ -1,2 +0,0 @@
gcc qtxload.c ../libloader.a ../../cpudetect.o ../../mp_msg-mencoder.o -ldl -lm -lpthread -g