summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/Makefile15
-rw-r--r--fluid/primes.fl22
2 files changed, 13 insertions, 24 deletions
diff --git a/fluid/Makefile b/fluid/Makefile
index cd4703988..ea5c099c7 100644
--- a/fluid/Makefile
+++ b/fluid/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.4 1998/10/21 17:20:07 mike Exp $"
+# "$Id: Makefile,v 1.5 1998/10/21 17:24:50 mike Exp $"
#
# Fluid makefile for the Fast Light Tool Kit (FLTK).
#
@@ -83,5 +83,16 @@ uninstall:
-@ rm -f $(bindir)/$(PROGRAM)
#
-# End of "$Id: Makefile,v 1.4 1998/10/21 17:20:07 mike Exp $".
+# Note: The rebuild target can only be used if you have the original .fl
+# files. This is normally only used by the FLTK maintainers...
+#
+
+rebuild:
+ ./fluid -c about_panel.fl
+ ./fluid -c alignment_panel.fl
+ ./fluid -c function_panel.fl
+ ./fluid -c widget_panel.fl
+
+#
+# End of "$Id: Makefile,v 1.5 1998/10/21 17:24:50 mike Exp $".
#
diff --git a/fluid/primes.fl b/fluid/primes.fl
deleted file mode 100644
index e221b739a..000000000
--- a/fluid/primes.fl
+++ /dev/null
@@ -1,22 +0,0 @@
-# data file for the Fltk User Interface Designer (fluid)
-version 0.99
-gridx 10
-gridy 10
-snap 3
-decl {// This is a demo of fluid used to write a normal C program} {}
-
-decl {\#include <stdio.h>} {}
-
-Function {main()} {open selected
-} {
- code {printf("%d ", 2);} {}
- codeblock {for (int x=3; x < 10000; x += 2)} {open
- } {
- code {for (int y=3; x%y; y += 2)} {}
- codeblock {if (y*y > x)} {open
- } {
- code {printf("%d ", x);
-break;} {}
- }
- }
-}