aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/acinerella/makefile
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-19 17:18:42 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-19 17:18:42 +0000
commit51ed8fe6f2ea9892e905e81cf5bad3960537eb40 (patch)
treea4dcb099343762dcb7bd7988f73de68c1959d3a5 /Game/Code/lib/acinerella/makefile
downloadusdx-51ed8fe6f2ea9892e905e81cf5bad3960537eb40.tar.gz
usdx-51ed8fe6f2ea9892e905e81cf5bad3960537eb40.tar.xz
usdx-51ed8fe6f2ea9892e905e81cf5bad3960537eb40.zip
Challenge MOD r7 alpha based on Ultrastar Deluxe v1.0.1a
for changes read Changelog.txt in folder Game git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2107 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/acinerella/makefile')
-rw-r--r--Game/Code/lib/acinerella/makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Game/Code/lib/acinerella/makefile b/Game/Code/lib/acinerella/makefile
new file mode 100644
index 00000000..cc5fde3b
--- /dev/null
+++ b/Game/Code/lib/acinerella/makefile
@@ -0,0 +1,13 @@
+acinerella: acinerella.c acinerella.h
+ gcc -c acinerella.c -I /usr/local/include
+
+ifeq "$(OSTYPE)" "linux"
+ gcc -shared -o libacinerella.so acinerella.o -lavformat -lavcodec -lavutil -lm -lswscale
+ strip libacinerella.so
+else
+ gcc -shared -o acinerella.dll -fPIC acinerella.o -lavformat -lavcodec -lavutil -lm -lswscale -lws2_32
+ strip acinerella.dll
+endif
+
+test: test.c acinerella.h
+ gcc -o test test.c -L. -lacinerella