mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10 lines
382 B
Text
10 lines
382 B
Text
|
include Makefile
|
||
|
|
||
|
RUBYCWDLL=rubycw.dll
|
||
|
|
||
|
miniruby$(EXEEXT): $(RUBYCWDLL)
|
||
|
|
||
|
$(RUBYCWDLL): $(OBJS) dmyext.o
|
||
|
dllwrap -o $(RUBYCWDLL) --export-all --output-lib=$(LIBRUBY_SO) --dllname=$(RUBYCWDLL) -Wl,-e,__cygwin_noncygwin_dll_entry@12 --add-stdcall-alias -s $(OBJS) dmyext.o
|
||
|
nm --extern-only $(OBJS) dmyext.o | sed -n '/^........ [CD] _\(.*\)$$/s//#define \1 (*__imp_\1)/p' >import.h
|