summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-06-10 16:24:39 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-06-10 16:24:39 +0200
commit95165884b67f30d794e963be81d0a6a2adba2d4a (patch)
tree45b0b61e39626c37a508ff67d42df7649215c943 /test/Makefile
parent3d00b8db4c5537c485e9a3b71a58caeff5a7d906 (diff)
Support cross-compilation with autotools
We use the host system's `fluid` when cross-compiling. This must be executable as `fluid`, i.e. it must be in the PATH or otherwise defined, for instance as an alias.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile
index 40b5344af..959d28709 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,19 +1,17 @@
#
-# "$Id$"
-#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
-# Copyright 1998-2019 by Bill Spitzak and others.
+# Copyright 1998-2020 by Bill Spitzak and others.
#
# This library is free software. Distribution and use rights are outlined in
# the file "COPYING" which should have been included with this file. If this
# file is missing or damaged, see the license at:
#
-# http://www.fltk.org/COPYING.php
+# https://www.fltk.org/COPYING.php
#
# Please report all bugs and problems on the following page:
#
-# http://www.fltk.org/str.php
+# https://www.fltk.org/str.php
#
include ../makeinclude
@@ -302,7 +300,7 @@ uninstall-osx:
# FLUID file rules
.fl.cxx .fl.h: ../fluid/fluid$(EXEEXT)
echo Generating $@ and header from $<...
- ../fluid/fluid$(EXEEXT) -c $<
+ $(FLUID_BUILD) -c $<
# All demos depend on the FLTK library...
$(ALL): $(LIBNAME)