libmfs/Makefile
2009-04-02 19:29:19 +00:00

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