mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-06 02:40:26 -08:00
Update Makefile for MSVC.
This commit is contained in:
parent
cb5ccd7927
commit
45a368cb4d
1 changed files with 13 additions and 1 deletions
|
|
@ -1,2 +1,14 @@
|
|||
import.exe: import.c
|
||||
all:
|
||||
@echo You must specify a compiler type: mingw or msvc
|
||||
|
||||
mingw: import-mingw.exe
|
||||
|
||||
import-mingw.exe: import.c
|
||||
gcc -g `ecl-config --cflags` import.c -o $@ `ecl-config --ldflags`
|
||||
|
||||
msvc: import-msvc.exe
|
||||
|
||||
import-msvc.exe: import.c
|
||||
ecl-cc --compile -c import.c
|
||||
ecl-cc --link -Fe$@ import.obj
|
||||
del /q import.obj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue