mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-01 15:20:36 -08:00
14 lines
312 B
Makefile
14 lines
312 B
Makefile
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
|