liblabafile/Makefile

16 lines
257 B
Makefile
Raw Normal View History

2024-06-18 14:04:23 +00:00
CFLAGS ?=
ifeq ($(OS),Windows_NT)
LIBSUFFIX = dll
else
LIBSUFFIX = so
endif
%.$(LIBSUFFIX): %.c
$(CC) -shared -fPIC $(CFLAGS) $< -o $@
all: native/fopen.$(LIBSUFFIX) native/fgetc.$(LIBSUFFIX) native/feof.$(LIBSUFFIX)
clean:
rm native/*.$(LIBSUFFIX)