summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 000000000..46aa43532
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,19 @@
+include ../makeinclude
+
+ALL = tabs-simple$(EXEEXT) \
+ tree-simple$(EXEEXT)
+
+# default target -- build everything
+default: $(ALL)
+
+tabs-simple$(EXEEXT): tabs-simple.cxx
+ fltk-config --compile tabs-simple.cxx
+
+tree-simple$(EXEEXT): tree-simple.cxx
+ fltk-config --compile tree-simple.cxx
+
+# clean everything
+clean:
+ $(RM) $(ALL)
+ $(RM) *.o
+ $(RM) core