Makefile
changeset 19 4cd3af22787e
parent 18 efd809f369c6
child 21 5c0a6affeafa
equal deleted inserted replaced
18:efd809f369c6 19:4cd3af22787e
    34 CPUS = 8
    34 CPUS = 8
    35 BLKDEV=/dev/null
    35 BLKDEV=/dev/null
    36 
    36 
    37 
    37 
    38 CROSS_COMPILE=i686-w64-mingw32
    38 CROSS_COMPILE=i686-w64-mingw32
    39 CROSS_COMPILE_LIBS_DIR=/usr/lib/gcc/$(CROSS_COMPILE)/6.1-win32
    39 CROSS_COMPILE_LIBS_DIR=$(shell dirname $(shell $(CROSS_COMPILE)-gcc -print-libgcc-file-name))
    40 CC=$(CROSS_COMPILE)-gcc
    40 CC=$(CROSS_COMPILE)-gcc
    41 CXX=$(CROSS_COMPILE)-g++
    41 CXX=$(CROSS_COMPILE)-g++
    42 
    42 
    43 define get_runtime_libs
    43 define get_runtime_libs
    44 	cp $(CROSS_COMPILE_LIBS_DIR)/libgcc_s_sjlj-1.dll $(1)
    44 	cp $(CROSS_COMPILE_LIBS_DIR)/libgcc_s_sjlj-1.dll $(1)