Makefile at [777947ec3d]

File Makefile artifact 6ff0798462 part of check-in 777947ec3d


CC = gcc
PKG_CONFIG = pkg-config
CFLAGS = $(shell $(PKG_CONFIG) --cflags fuse)
LIBS = $(shell $(PKG_CONFIG) --libs fuse)
PREFIX = /usr/local
prefix = $(PREFIX)
bindir = $(prefix)/bin

all: appfs

appfs: appfs.o
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o appfs appfs.o $(LIBS)

appfs.o: appfs.c

install: appfs
	cp appfs $(bindir)

clean:
	rm -f appfs appfs.o

distclean: clean

.PHONY: all clean distclean install