1 diff --git a/Makefile b/Makefile
13 +CFLAGS+= -fPIC -shared
19 +posix.so: spawn/posix.c vendor/compat-5.3/c-api/compat-5.3.h
20 + $(CC) $(CFLAGS) -Ivendor/compat-5.3/c-api/ -o $@ -c $<
24 + mkdir -p $(DESTDIR)$(INSTALL_LMOD)/spawn
25 + mkdir -p $(DESTDIR)$(INSTALL_CMOD)/spawn
26 + cp -f posix.so $(DESTDIR)$(INSTALL_CMOD)/spawn/
27 + cp -f spawn/init.lua $(DESTDIR)$(INSTALL_LMOD)/spawn/
28 + cp -f spawn/wait.lua $(DESTDIR)$(INSTALL_LMOD)/spawn/