aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c0f08b4..98fa1ac 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,13 @@ build_DUE:
79# also run a test that shows whether lanes is successfully loaded or not 79# also run a test that shows whether lanes is successfully loaded or not
80run_unit_tests: build_lanes build_unit_tests build_DUE 80run_unit_tests: build_lanes build_unit_tests build_DUE
81 @echo ========================================================================================= 81 @echo =========================================================================================
82 $(_PREFIX) $(_UNITTEST_TARGET) "lanes.require 'lanes'" 82 $(_PREFIX) $(_UNITTEST_TARGET) --list-tests
83 $(_PREFIX) $(_UNITTEST_TARGET) --rng-seed 0 -s scripted_tests.lane.tasking_cancelling
84
85debug_unit_tests: build_lanes build_unit_tests build_DUE
86 @echo =========================================================================================
87 $(_PREFIX) $(_UNITTEST_TARGET) --list-tests
88 $(_PREFIX) gdb --args $(_UNITTEST_TARGET) --rng-seed 0 -s scripted_tests.lane.tasking_cancelling
83 89
84clean: 90clean:
85 cd src && $(MAKE) -f Lanes.makefile clean 91 cd src && $(MAKE) -f Lanes.makefile clean
@@ -267,13 +273,11 @@ DESTDIR:=/usr/local
267LUA_LIBDIR:=$(DESTDIR)/lib/lua/$(LUA_VERSION) 273LUA_LIBDIR:=$(DESTDIR)/lib/lua/$(LUA_VERSION)
268LUA_SHAREDIR:=$(DESTDIR)/share/lua/$(LUA_VERSION) 274LUA_SHAREDIR:=$(DESTDIR)/share/lua/$(LUA_VERSION)
269 275
270#
271# AKa 17-Oct: changed to use 'install -m 644' and 'cp -p'
272#
273install: $(_LANES_TARGET) src/lanes.lua 276install: $(_LANES_TARGET) src/lanes.lua
274 mkdir -p $(LUA_LIBDIR) $(LUA_SHAREDIR) 277 mkdir -p $(LUA_LIBDIR) $(LUA_SHAREDIR)
275 install -m 644 $(_LANES_TARGET) $(LUA_LIBDIR) 278 install -m 644 $(_LANES_TARGET) $(LUA_LIBDIR)
276 cp -p src/lanes.lua $(LUA_SHAREDIR) 279 cp -p src/lanes.lua $(LUA_SHAREDIR)
280 install -m 644 $(_DUE_TARGET) $(LUA_LIBDIR)
277 281
278uninstall: 282uninstall:
279 rm $(LUA_LIBDIR)/lanes_core.$(_SO) 283 rm $(LUA_LIBDIR)/lanes_core.$(_SO)