aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb/Makefile
blob: b603c831cb6d23b23a83a505dc383803db9b5d27 (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}