mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
pike binding by fippo
This commit is contained in:
parent
9fe62b959c
commit
520cb9fbde
5 changed files with 248 additions and 0 deletions
14
pike/Makefile
Normal file
14
pike/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
CC=gcc
|
||||
CFLAGS := -O9 -shared -Wall -fPIC -I/usr/include/pike $(CFLAGS) $(shell $(PIKE) -x cflags)
|
||||
LD=$(CC) -shared -lpsyc
|
||||
|
||||
all: module.so
|
||||
|
||||
module.so: module.o
|
||||
$(LD) -o module.so module.o $(LDFLAGS)
|
||||
|
||||
module.o: module.c
|
||||
$(CC) $(CFLAGS) -c module.c
|
||||
|
||||
module.c: psyc.cmod
|
||||
$(PIKE) -x precompile $< > $@
|
Loading…
Add table
Add a link
Reference in a new issue