diff options
author | sr55 <[email protected]> | 2007-08-02 15:15:12 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-08-02 15:15:12 +0000 |
commit | f218b5e19b900262520a4289f48a1464d17cb75b (patch) | |
tree | e97f91f1d970acb4c61d38e8967466b053770602 | |
parent | 457cb1200f35785f3680d8537e1be8a9f8e7a1d8 (diff) |
a makefile update for superdump's swscale stuff
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@783 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | test/Makefile | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/test/Makefile b/test/Makefile index 33cc84cd0..cd88806e9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,32 +1,32 @@ -SYSTEM = $(shell uname -s)
-
-ifeq ($(SYSTEM),CYGWIN_NT-5.1)
- LIBS = a52 mkv avformat avcodec avutil dca dvdread faac mp3lame mpeg2 vorbis vorbisenc ogg samplerate x264 xvidcore mp4v2
-else
- LIBS = a52 mkv avformat avcodec avutil dca dvdread dvdcss faac mp3lame mpeg2 vorbis vorbisenc ogg samplerate x264 xvidcore mp4v2
-endif
-
-all: ../HandBrakeCLI
-
-CFLAGS += -I../libhb
-CXXFLAGS += -I../libhb
-LIBS2 = ../libhb/libhb.a $(LIBS:%=../contrib/lib/lib%.a)
-LDFLAGS += $(LIBS2)
-
-../HandBrakeCLI: test.c parsecsv.c $(LIBS2)
- @CMD="$(CC) $(CFLAGS) -o test.o -c test.c"; $$CMD || \
- ( echo "Compile line for $@ was:"; echo $$CMD; false )
- @CMD="$(CC) $(CFLAGS) -o parsecsv.o -c parsecsv.c"; $$CMD || \
- ( echo "Compile line for $@ was:"; echo $$CMD; false )
- @echo "Link HandBrakeCLI"
- @CMD="g++ $(CXXFLAGS) -o ../HandBrakeCLI test.o parsecsv.o $(LDFLAGS) -lz -lpthread"; $$CMD || \
- ( echo "Compile line for $@ was:"; echo $$CMD; false )
- @CMD="rm -rf ../plugins ; mkdir ../plugins ; cp ../contrib/lib/libquicktime/* ../plugins"; $$CMD
-
-
-clean:
- @echo "Clean HandBrakeCLI"
- @$(RM) ../HandBrakeCLI
- @$(RM) ../HandBrakeCLI.exe
- @$(RM) *.o
-
+SYSTEM = $(shell uname -s) + +ifeq ($(SYSTEM),CYGWIN_NT-5.1) + LIBS = a52 mkv avformat avcodec avutil dca dvdread faac mp3lame mpeg2 vorbis vorbisenc ogg samplerate x264 xvidcore mp4v2 swscale +else + LIBS = a52 mkv avformat avcodec avutil dca dvdread dvdcss faac mp3lame mpeg2 vorbis vorbisenc ogg samplerate x264 xvidcore mp4v2 swscale +endif + +all: ../HandBrakeCLI + +CFLAGS += -I../libhb +CXXFLAGS += -I../libhb +LIBS2 = ../libhb/libhb.a $(LIBS:%=../contrib/lib/lib%.a) +LDFLAGS += $(LIBS2) + +../HandBrakeCLI: test.c parsecsv.c $(LIBS2) + @CMD="$(CC) $(CFLAGS) -o test.o -c test.c"; $$CMD || \ + ( echo "Compile line for $@ was:"; echo $$CMD; false ) + @CMD="$(CC) $(CFLAGS) -o parsecsv.o -c parsecsv.c"; $$CMD || \ + ( echo "Compile line for $@ was:"; echo $$CMD; false ) + @echo "Link HandBrakeCLI" + @CMD="g++ $(CXXFLAGS) -o ../HandBrakeCLI test.o parsecsv.o $(LDFLAGS) -lz -lpthread"; $$CMD || \ + ( echo "Compile line for $@ was:"; echo $$CMD; false ) + @CMD="rm -rf ../plugins ; mkdir ../plugins ; cp ../contrib/lib/libquicktime/* ../plugins"; $$CMD + + +clean: + @echo "Clean HandBrakeCLI" + @$(RM) ../HandBrakeCLI + @$(RM) ../HandBrakeCLI.exe + @$(RM) *.o + |