1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00
SpaceVim/bundle/vimproc.vim/make_bsd.mak
2020-06-14 23:42:40 +08:00

18 lines
365 B
Makefile
Vendored

# for *BSD platform.
SUFFIX!=uname -sm | tr '[:upper:]' '[:lower:]' | sed -e 's/ /_/'
TARGET=lib/vimproc_$(SUFFIX).so
SRC=src/proc.c
CFLAGS+=-W -O2 -Wall -Wno-unused -Wno-unused-parameter -std=gnu99 -pedantic -shared -fPIC
LDFLAGS+=-lutil
all: $(TARGET)
$(TARGET): $(SRC) src/vimstack.c
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LDFLAGS)
clean:
rm -f $(TARGET)