[sylverant] r761 committed - Use svn:externals to bring in the PRS code to prstool. That way, you d...

2 views
Skip to first unread message

sylv...@googlecode.com

unread,
Nov 23, 2014, 11:17:54 PM11/23/14
to sylverant-...@googlegroups.com
Revision: 761
Author: blue...@gmail.com
Date: Mon Nov 24 04:17:46 2014 UTC
Log: Use svn:externals to bring in the PRS code to prstool. That way,
you don't have to link it with libsylverant.

https://code.google.com/p/sylverant/source/detail?r=761

Added:
/trunk/pso_tools/prstool/Makefile
Modified:
/trunk/pso_tools/prstool
/trunk/pso_tools/prstool/prstool.c

=======================================
--- /dev/null
+++ /trunk/pso_tools/prstool/Makefile Mon Nov 24 04:17:46 2014 UTC
@@ -0,0 +1,12 @@
+# *nix Makefile.
+# Should build with any standardish C99-supporting compiler.
+
+all: prstool
+
+prstool: prstool.c prs-comp.c prs-decomp.c
+ $(CC) -o prstool prstool.c prs-comp.c prs-decomp.c
+
+.PHONY: clean
+
+clean:
+ -rm -fr prstool *.o *.dSYM
=======================================
--- /trunk/pso_tools/prstool/prstool.c Sun Nov 16 04:24:04 2014 UTC
+++ /trunk/pso_tools/prstool/prstool.c Mon Nov 24 04:17:46 2014 UTC
@@ -21,7 +21,7 @@
#include <stdint.h>
#include <string.h>

-#include <sylverant/prs.h>
+#include "prs.h"

static const char *in_file, *out_file;
static int operation = 0;
Reply all
Reply to author
Forward
0 new messages