Commit 9b05ac47 authored by Thierry Martinez's avatar Thierry Martinez

Resolve merge

parents 86d866a1 9a58fd67
CFLAGS=`pkg-config --cflags libsbml`
LDLIBSx=`pkg-config --libs libsbml`
all: sbml2biocham
rm -rf sbml2biocham sbml2biocham.o
sbml2biocham: sbml2biocham.o
#include <stdio.h>
#include <sbml/SBMLTypes.h>
main (int argc, char *argv[])
const char *filename;
SBMLDocument_t *document;
Model_t *model;
if (argc != 2) {
fprintf(stderr, "Usage: sbml2biocham filename\n");
return 2;
filename = argv[1];
document = readSBML(filename);
if (SBMLDocument_getNumErrors(document) != 0) {
SBMLDocument_printErrors(document, stderr);
return 1;
model = SBMLDocument_getModel(document);
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment