Initial C module file and simple example added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@10501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8b42082f88
commit
338347feb0
9 changed files with 220 additions and 0 deletions
12
Examples/c/simple/Makefile
Normal file
12
Examples/c/simple/Makefile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
TOP = ../..
|
||||
SWIG = $(TOP)/../preinst-swig
|
||||
SRCS = example.c
|
||||
TARGET = example
|
||||
INTERFACE = example.i
|
||||
EXEC = main.c
|
||||
|
||||
all::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' EXEC='$(EXEC)' c
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue