CC=gcc CFLAGS=-fPIC -I../../lib OBJ=../uptime.so main: $(CC) -shared -o $(OBJ) $(CFLAGS) ./uptime.c @echo "All Done!"