mirror of
https://github.com/zydeco/libmfs.git
synced 2024-12-28 07:29:55 +00:00
16 lines
217 B
Makefile
16 lines
217 B
Makefile
LIB = libmfs.a
|
|
|
|
CC = gcc
|
|
AR = ar
|
|
RANLIB = ranlib
|
|
CFLAGS = -fPIC -std=c99 -I.. -DUSE_LIBRES
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): mfs.c
|
|
$(CC) -c $(CFLAGS) mfs.c
|
|
$(AR) -ru $(LIB) mfs.o
|
|
$(RANLIB) $(LIB)
|
|
|
|
clean:
|
|
rm -rf libmfs.a mfs.o
|