1 2 3 4 5 6 7
all: $(CC) -c -fPIC safex11.c -o safex11.o -lX11 $(CC) -shared -o libsafex11.so safex11.o -lX11 clean: rm safex11.o rm *.so*