diff options
author | lotanrm <lotanrm@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2013-07-11 08:49:22 +0000 |
---|---|---|
committer | lotanrm <lotanrm@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2013-07-11 08:49:22 +0000 |
commit | 2596ea5ea76e3a6bb46ce1c7c5da3ea33bcda031 (patch) | |
tree | 047d0e7e28195c110f7ea38f84cc7df3ffc49db3 /test/ffmpeg_structs/Makefile | |
parent | cc0b72e5e5e1c620b654ecf14d89ac9c4706e4e6 (diff) | |
download | usdx-2596ea5ea76e3a6bb46ce1c7c5da3ea33bcda031.tar.gz usdx-2596ea5ea76e3a6bb46ce1c7c5da3ea33bcda031.tar.xz usdx-2596ea5ea76e3a6bb46ce1c7c5da3ea33bcda031.zip |
Added test to compare ffmpeg type sizes between pascal and c.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2997 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | test/ffmpeg_structs/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/ffmpeg_structs/Makefile b/test/ffmpeg_structs/Makefile new file mode 100644 index 00000000..11e87cf0 --- /dev/null +++ b/test/ffmpeg_structs/Makefile @@ -0,0 +1,22 @@ +FFMPEG_VERSION=1.0 + +all: ffmpeg_c ffmpeg_pas + @./ffmpeg_c >ffmpeg_c.txt + @./ffmpeg_pas >ffmpeg_pas.txt + @diff ffmpeg_c.txt ffmpeg_pas.txt + +ffmpeg_c: ffmpeg_c.c + @gcc -o $@ $^ + +ffmpeg_pas: ffmpeg_pas.pas + @fpc -v0 -Fi../../src $^ >/dev/null 2>&1 + +ffmpeg_c.c: + @FFMPEG_VERSION=$(FFMPEG_VERSION) ./find_avtypes + +ffmpeg_pas.pas: + @FFMPEG_VERSION=$(FFMPEG_VERSION) ./find_avtypes + +.PHONY: clean +clean: + @rm -f ffmpeg_c* ffmpeg_pas* |