aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb/Makefile
blob: b1f19cf441e2dc285af9d73eef6a1dcf7411037b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC ?= gcc
CFLAGS ?= -Wall -x c -s

LIBS = lib/stdbuf.so

all: ${LIBS}

%.so: %.c
	# TODO: multiarch (-m32/-m64)
	${CC} ${CFLAGS} $< -fPIC -shared -o $@

clean:
	rm -f ${LIBS}