Open moteus opened 10 years ago
luaffi library also build test_cdecl.dll test_stdcall.dll and test_fastcall.dll based on test.c file. So this is my final variant https://gist.github.com/moteus/7042134 For dasc file i just create target manually and for dll files i copy .c file with different name. But this is not obvious and not easy if you have multiple .c files. May be you have better solution. And i think it worth at least mention about this behavior in documentation.
I try write lakefile for luaffi library. This library has generated header files:
So call_x86.h, call_x86.h and call_x64win.h builds based on same file(call_x86.dasc) Because target name depends also from flags i can not use group because of than i try create new languege:
Output
There 2 problems:
call_x86.dasc
compiles only with one set of flagslink
has no $(SRC)