dotfiles/sourcecode/sshfs-map/Makefile
Érico Rolim 827ad9943c sourcecode: udpate building stuff.
- Remove `set -x` from install.sh
- Add cflags to Makefile
2020-07-07 17:34:18 -03:00

20 lines
284 B
Makefile

SRC = sshfs-map.c
OBJ = sshfs-map
UOBJ = sshfs-unmap
CFLAGS = -g3 -ggdb -O2
DESTDIR ?= /
PREFIX ?= usr/local
all: $(OBJ)
install: all
install -m0755 $(OBJ) $(DESTDIR)/$(PREFIX)/bin/$(OBJ)
ln -sf $(PREFIX)/bin/$(OBJ) $(PREFIX)/bin/$(UOBJ)
doc: sshfs-map.7
clean:
rm -f $(OBJ)