summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..8e5d254
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,11 @@
+LDFLAGS=`pkg-config --libs libosmocore libosmogsm`
+CFLAGS=`pkg-config --cflags libosmocore libosmogsm`
+
+auc: auc_main.o auc_core.o auc_rec_csv.o auc_rand.o
+ $(CC) -o $@ $^ $(LDFLAGS)
+
+%.o: %.c
+ $(CC) $(CFLAGS) -o $@ -c $^
+
+clean:
+ @rm -f auc *.o