flushpl

LD_PRELOAD hook to force fflush
git clone https://git.sinitax.com/sinitax/flushpl
Log | Files | Refs | LICENSE | sfeed.txt

Makefile (237B)


      1CFLAGS = -Wunused-variable -Wunused-function -Wconversion
      2CFLAGS += -nostartfiles -fPIC -shared --std=c99 -O2
      3LDLIBS = -ldl
      4
      5all: flush.so
      6
      7clean:
      8	rm -f flush.so
      9
     10fflush.so: main.c
     11	$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
     12
     13.PHONY: all clean