aboutsummaryrefslogtreecommitdiff
path: root/libraries/thirdparty/ekermit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/thirdparty/ekermit/Makefile')
-rw-r--r--libraries/thirdparty/ekermit/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/thirdparty/ekermit/Makefile b/libraries/thirdparty/ekermit/Makefile
new file mode 100644
index 0000000..8dd856f
--- /dev/null
+++ b/libraries/thirdparty/ekermit/Makefile
@@ -0,0 +1,17 @@
+EKERMIT = ../../../../thirdparty/ekermit
+
+vpath %.c $(EKERMIT)
+
+OBJS = kermit.o stm-kermit.o
+
+LIB = libekermit.a
+
+CFLAGS += -I$(EKERMIT) -DSTATIC=static -DRECVONLY -DMINSIZE #-DDEBUG
+
+all: $(LIB)
+
+$(LIB): $(OBJS)
+ $(AR) -r $@ $(OBJS)
+
+clean:
+ rm -f $(OBJS) $(LIB)