aboutsummaryrefslogtreecommitdiffstats
path: root/interface/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'interface/makefile')
-rw-r--r--interface/makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface/makefile b/interface/makefile
new file mode 100644
index 0000000..5cf7a99
--- /dev/null
+++ b/interface/makefile
@@ -0,0 +1,13 @@
+INC=-I../
+
+
+libopt.a:opt.o
+ $(AR) $@ opt.o
+
+opt.o:opt.cc opt.h
+ $(CPP) $< -o $@ $(INC) $(CPPFLAGS)
+
+
+clean:
+ $(RM) *.o
+ $(RM) *~