ffi-signal.makefile (329B)
1 # 2 # ffi-signal.makefile 3 # 4 # Build script for ffi-signal.so. Please follow instructions 5 # in ffi-signal.k. 6 # 7 8 INCLUDES := -I.. 9 CFLAGS := -O2 -g -std=gnu99 -Wall -m32 -shared -fPIC \ 10 -DKLISP_USE_POSIX -DKUSE_LIBFFI=1 11 12 ffi-signal.so: ffi-signal.c 13 gcc $(CFLAGS) $(INCLUDES) -o $@ ffi-signal.c 14 15 clean: 16 rm -f ffi-signal.so