forked from thkala/fuseflect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 705 Bytes
/
Makefile
File metadata and controls
29 lines (22 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# fuseflect - A FUSE filesystem for local directory mirroring
#
# Copyright (c) 2007 Theodoros V. Kalamatianos <nyb@users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published by
# the Free Software Foundation.
#
prefix := /usr/local
bindir := $(prefix)/bin
DEBUG :=
CFLAGS := -O3 -Wall -lpcre2-8 $(DEBUG)
# Yes, I am lazy...
VER := $(shell head -n 1 NEWS | cut -d : -f 1)
all: regexfs
regexfs: regexfs.c NEWS
$(CC) $< -o $@ $(shell pkg-config fuse --cflags --libs) $(CFLAGS) -DVERSION=\"$(VER)\"
install: all
install -D -m755 regexfs $(bindir)/regexfs
clean:
rm -f *.o regexfs