webmcp

view libraries/mondelefant/Makefile @ 541:72e55c2eb63c

Use "cc -shared" instead of "ld -shared" to create *.so files
author jbe
date Sat Oct 19 15:05:55 2019 +0200 (21 months ago)
parents 30391b40722f
children
line source
1 include ../../Makefile.options
3 mondelefant_native.so: mondelefant_native.o
4 $(CC) $(SHAREDFLAGS) $(SHAREDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq
6 mondelefant_native.o: mondelefant_native.c
7 $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c
9 test:: mondelefant_native.so mondelefant.lua
10 $(LUA_BIN) -l mondelefant
12 clean::
13 rm -f mondelefant_native.so mondelefant_native.o

Impressum / About Us