summaryrefslogtreecommitdiffstats
path: root/src/Makefile
blob: 0454c1214ebffde2aae5012bf6bba69a9061c251 (plain)
1
2
3
4
5
CFLAGS = -g3 -Wall -Wimplicit -Wextra -Wno-unused -fPIC -D_REENTRANT $(shell pkg-config --cflags nspr nss)
LDFLAGS = -lnsl -lpthread

plugin.so: plugin.c
	$(CC) $(CFLAGS) -shared -o $@ $^ $(LDFLAGS)