aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/fripost-partman-udeb/Makefile')
-rw-r--r--src/fripost-partman-udeb/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fripost-partman-udeb/Makefile b/src/fripost-partman-udeb/Makefile
new file mode 100644
index 0000000..b603c83
--- /dev/null
+++ b/src/fripost-partman-udeb/Makefile
@@ -0,0 +1,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}