Commit cc6125c5 authored by erwan's avatar erwan
Browse files

Some cleaning in the exemples directory

parent 8e78a39a
Pipeline #7382 passed with stages
in 7 minutes and 54 seconds
Test that make sure that lutin can be called from ocaml
......@@ -11,7 +11,7 @@ open RdbgPlugin
let _ =
let inputs, outputs, kill, step, step_dbg, mems_i,mems_o =
let args = Array.of_list ["../../../bin/lutin";"foo.lut";"-n";"main";"-seed";"1"] in
let args = Array.of_list ["lutin";"foo.lut";"-n";"main";"-seed";"1"] in
let plugin = LutinRun.make args in
plugin.inputs,plugin.outputs,plugin.kill,plugin.step,plugin.step_dbg,
plugin.init_inputs,plugin.init_outputs
......
ifndef LUTIN
LUTIN=../../../_build/lutin/src/main.native
LUTIN=../../_build/lutin/src/main.native
endif
......
......@@ -109,18 +109,18 @@ utest: utest1 utest2 utest4
test: test1 test2 test4
%.ec: %.lus
../../../bin/lus2lic$(EXE) -ec $^ -n $* -o $@
../../bin/lus2lic$(EXE) -ec $^ -n $* -o $@
.PHONY:heater_control$(EXE)
heater_control$(EXE): heater_control.ec
../../../bin/ec2c$(EXE) -loop heater_control.ec
../../bin/ec2c$(EXE) -loop heater_control.ec
gcc heater_control.c heater_control_loop.c -o $@
%.c: %.ec
../../../bin/ec2c$(EXE) -loop $^
../../bin/ec2c$(EXE) -loop $^
LIB=-I ../../../lib graphics.cmxa ocaml2c.cmx ocamlRM.cmx -I +rdbg-plugin rdbg-plugin.cmxa
XXX=-I ../../../source/obj-linux/
LIB=-I ../../lib graphics.cmxa ocaml2c.cmx ocamlRM.cmx -I +rdbg-plugin rdbg-plugin.cmxa
XXX=-I ../../source/obj-linux/
# Essai pour appeler via des cmxs du code C généré par lus2c
# Bon, ca semble ne pas marcher (au 4/11/2013)
......
Testing the old version of lurette (calling conventions changed)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment