Update Makefile for MSVC.

This commit is contained in:
goffioul 2005-10-28 14:57:31 +00:00
parent cb5ccd7927
commit 45a368cb4d

View file

@ -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` 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