Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 573 Bytes
include config.mk
CC = gcc
CFLAGS = -O2 -Wall -W
OBJECTS = main.o xmlhelpers.o
all: $(OBJECTS)
$(CC) `pkg-config --libs fuse` `xml2-config --libs` $(OBJECTS) -o xmlfs -g
%.o: %.c
$(CC) $(CFLAGS) `pkg-config --cflags fuse` `xml2-config --cflags` -c $<
clean:
rm xmlfs $(OBJECTS)
install: all
@echo installing executable to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f xmlfs ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/xmlfs
uninstall:
@echo removing executable from ${DESTDIR}${PREFIX}/bin
@rm ${DESTDIR}${PREFIX}/bin/xmlfs
You can’t perform that action at this time.