aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..1430296
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,13 @@
+CFLAGS=-g -Wall
+LDFLAGS=-losmocore -losmogsm -losmovty -losmoabis -ltalloc
+
+all: osmo-e1-recorder
+
+osmo-e1-recorder: e1_recorder.o storage.o vty.o
+ $(CC) $(LDFLAGS) -o$@ $^
+
+%.o: %.c
+ $(CC) $(CFLAGS) -o $@ -c $^
+
+clean:
+ @rm *.o osmo-e1-recorder