Makefile 237 B

12345678910111213
  1. all : strbit.so
  2. CFLAGS = -Wall -std=c89 -ansi -pedantic
  3. LDFLAGS =
  4. .PHONY : all
  5. strbit.o : strbit.c
  6. gcc $(CFLAGS) -fPIC -c strbit.c -o strbit.o -I/usr/include/lua5.1
  7. strbit.so : strbit.o
  8. gcc $(LDFLAGS) -shared strbit.o -o strbit.so