diff options
Diffstat (limited to 'ext/dbm/Makefile')
-rw-r--r-- | ext/dbm/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/ext/dbm/Makefile b/ext/dbm/Makefile index 61afe01e64..970724dd2a 100644 --- a/ext/dbm/Makefile +++ b/ext/dbm/Makefile @@ -1,14 +1,20 @@ all: NDBM_File.c ODBM_File.c GDBM_File.c SDBM_File.c NDBM_File.c: NDBM_File.xs - ../xsubpp ../typemap NDBM_File.xs >NDBM_File.c + ../xsubpp NDBM_File.xs >NDBM_File.c SDBM_File.c: SDBM_File.xs - ../xsubpp ../typemap SDBM_File.xs >SDBM_File.c + ../xsubpp SDBM_File.xs >SDBM_File.c + +SDBM_File.o: SDBM_File.c + cc -g -I../.. -pic -c SDBM_File.c + +SDBM_File.so: SDBM_File.o sdbm/libsdbm.a + ld -o SDBM_File.so SDBM_File.o sdbm/libsdbm.a ODBM_File.c: ODBM_File.xs - ../xsubpp ../typemap ODBM_File.xs >ODBM_File.c + ../xsubpp ODBM_File.xs >ODBM_File.c GDBM_File.c: GDBM_File.xs - ../xsubpp ../typemap GDBM_File.xs >GDBM_File.c + ../xsubpp GDBM_File.xs >GDBM_File.c |