1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# for MinGW. TARGET=lib/vimproc_win32.dll SRC=src/proc_w32.c CC=gcc CFLAGS+=-O2 -Wall -shared -m32 LDFLAGS+=-lwsock32 all: $(TARGET) $(TARGET): $(SRC) src/vimstack.c $(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LDFLAGS) clean: rm -f $(TARGET)