-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (22 loc) · 709 Bytes
/
Makefile
File metadata and controls
33 lines (22 loc) · 709 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
30
31
32
33
#
# fuseflt - A FUSE filesystem with file conversion filter support
#
# 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 := -O2 -Wall $(DEBUG)
# Yes, I am lazy...
VER := $(shell head -n 1 NEWS | cut -d : -f 1)
all: fuseflt
fuseflt: fuseflt.c NEWS
$(CC) $(shell pkg-config fuse --cflags --libs) $(CFLAGS) -lcfg+ -DVERSION=\"$(VER)\" $< -o $@
install: all
install -D -m755 fuseflt $(bindir)/fuseflt
clean:
rm -f *.o fuseflt