diff options
Diffstat (limited to 'src/makefiles/Makefile.netbsd')
-rw-r--r-- | src/makefiles/Makefile.netbsd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.netbsd b/src/makefiles/Makefile.netbsd new file mode 100644 index 0000000..6f9cb1d --- /dev/null +++ b/src/makefiles/Makefile.netbsd @@ -0,0 +1,11 @@ +AROPT = cr + +export_dynamic = -Wl,-E +rpath = -Wl,-R'$(rpathdir)' + +DLSUFFIX = .so + + +# Rule for building a shared library from a single .o file +%.so: %.o + $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ |