CFLAGS=-g -I/usr/local/libexec/rep/i686-pc-linux-gnu
OBJ=ext-test.o

%.o: %.c
	gcc $(CFLAGS) -c $<

libext.so: ext.o
	gcc -shared -Wl,-soname,$@ -o $@ $^

clean:
	rm -f ext.o libext.so
