[Synopsis-cvs] Synopsis/Synopsis/demo/C API.h,NONE,1.1 Makefile,NONE,1.1

Stefan Seefeld stefan at users.sourceforge.net
Wed Aug 20 00:01:03 UTC 2003


Update of /cvsroot/synopsis/Synopsis/demo/C
In directory sc8-pr-cvs1:/tmp/cvs-serv8576/demo/C

Added Files:
	API.h Makefile 
Log Message:
little sandbox to work with to develop the C backend

--- NEW FILE: API.h ---
#ifndef _API_h
#define _API_h

struct Foo
{
  int bar;
  char *baz;
};

typedef int Baz;

#endif

--- NEW FILE: Makefile ---
synopsis := ../../bin/synopsis -v

all: html

html: API.syn
	rm -rf $@
	$(synopsis) -f HTML -o $@ $<

API.syn: API.h
	$(synopsis) -p C -o $@ $<





More information about the Synopsis-changes mailing list