21 lines
320 B
Makefile
21 lines
320 B
Makefile
|
.POSIX:
|
||
|
.PHONY: clean install
|
||
|
|
||
|
PREFIX=/usr/local
|
||
|
|
||
|
CC=gcc
|
||
|
CFLAGS=-Wall -Wextra -Wshadow -Wpedantic -std=c11 -O0 -g -Wno-unused-parameter
|
||
|
LDFLAGS=$(shell pkg-config --libs --cflags fuse3)
|
||
|
|
||
|
SRC=$(wildcard src/*.c)
|
||
|
|
||
|
tagfs: $(SRC)
|
||
|
$(CC) $(LDFLAGS) $? $(CFLAGS) -o $@
|
||
|
|
||
|
clean:
|
||
|
rm tagfs
|
||
|
|
||
|
install: tagfs
|
||
|
cp $? $(PREFIX)/bin/
|
||
|
|