diff options
author | Johannes Schickel | 2010-10-13 03:57:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-10-13 03:57:44 +0000 |
commit | 75e8452b6e6a2bf4fb2f588aa00b428a60d873b5 (patch) | |
tree | f29541d55309487a94bd1d38e8b53bb3dde9aec6 /engines/sword25/util/pluto/Makefile | |
parent | 48ee83b88957dab86bc763e9ef21a70179fa8679 (diff) | |
parent | e9f50882ea5b6beeefa994040be9d3bab6a1f107 (diff) | |
download | scummvm-rg350-75e8452b6e6a2bf4fb2f588aa00b428a60d873b5.tar.gz scummvm-rg350-75e8452b6e6a2bf4fb2f588aa00b428a60d873b5.tar.bz2 scummvm-rg350-75e8452b6e6a2bf4fb2f588aa00b428a60d873b5.zip |
OPENGL: Merged from trunk, from rev 52105 to 53396.
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
Diffstat (limited to 'engines/sword25/util/pluto/Makefile')
-rw-r--r-- | engines/sword25/util/pluto/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/engines/sword25/util/pluto/Makefile b/engines/sword25/util/pluto/Makefile new file mode 100644 index 0000000000..611ecc83d2 --- /dev/null +++ b/engines/sword25/util/pluto/Makefile @@ -0,0 +1,29 @@ +LDLIBS= -lm -ldl -llua +LDFLAGS = -rdynamic # -L../lua-5.1.3/src +# CFLAGS= -g3 -Wall -fprofile-arcs -ftest-coverage +CFLAGS= -g3 -Wall -ansi -pedantic + +LIBTOOL=libtool --tag=CC + +default: pluto.so pptest puptest + +%.lo: %.c + $(LIBTOOL) --mode=compile cc $(CFLAGS) -c $< + +pluto.so: pluto.lo pdep.lo lzio.lo + $(LIBTOOL) --mode=link cc -rpath /usr/local/lib/lua/5.1 -o libpluto.la $^ + mv .libs/libpluto.so.0.0.0 $@ + +test: pptest puptest pptest.lua puptest.lua pluto.so + ./pptest + ./puptest + +pptest: pptest.o + $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +puptest: puptest.o + $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +clean: + -rm -r *.so *.la *.lo .libs *.a *.o *.bb *.bbg *.da *.gcov pptest puptest test.plh + |