webmcp

view libraries/mondelefant/Makefile @ 555:16197a40c7a9

Removed -lc from flags for creating shared libraries (should no longer be necessary when using cc instead of ld)
author jbe
date Mon Feb 10 20:47:58 2020 +0100 (2020-02-10)
parents 72e55c2eb63c
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