1 CFLAGS=-std=c99 -Wall -O2 -fPIC -D_POSIX_SOURCE -D_GNU_SOURCE
9 gcc -shared $(CFLAGS) $(LDLIBS) -o $@ $^
11 install: runit-docker.so
12 mkdir -p $(DESTDIR)/sbin
13 mkdir -p $(DESTDIR)/lib
14 install -m 755 $(PROGNAME) $(DESTDIR)/sbin/
15 install -m 755 $(PROGNAME).so $(DESTDIR)/lib/