summaryrefslogtreecommitdiff
path: root/titan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'titan/Makefile')
-rw-r--r--titan/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/titan/Makefile b/titan/Makefile
new file mode 100644
index 0000000..e11dd1b
--- /dev/null
+++ b/titan/Makefile
@@ -0,0 +1,19 @@
+
+OBJS=General_Types.o Osmocom_Types.o hello.o
+OBJS+=MNCC_Types.o MNCC_EncDec.o
+OBJS+=PCUIF_Types.o
+
+CXXFLAGS=-DLINUX -DMAKEDEPEND_RUN -I/usr/include/titan -fPIC
+LDFLAGS=-L/usr/lib/titan -fPIC -lttcn3-dynamic
+LDFLAGS_STATIC=-L/usr/lib/titan -lttcn3 -lxml2 -lssl -lcrypto
+
+all: titan.a
+
+titan.a: $(OBJS)
+ $(AR) r $@ $^
+
+%.o: %.cc
+ $(CXX) $(CXXFLAGS) -c -o $@ $^
+
+clean:
+ @rm titan.a $(OBJS)
personal git repositories of Harald Welte. Your mileage may vary