me-utils/src/Makefile

24 lines
410 B
Makefile

.POSIX:
.SUFFIX:
PREFIX = /usr
BINS = \
overwrite \
vis
all: $(BINS)
install: all
install -Dm755 $(BINS) $(DESTDIR)/$(PREFIX)/bin/
clean:
rm *.o $(BINS) *~ a.out
check:
splint +checks +posix-strict-lib +showsummary +forcehints +showscan +showsourceloc +toctou +its4low +its4moderate +its4risky +its4veryrisky +its4mostrisky +bufferoverflow *.c *.h
.SUFFIX:
.c.o:
cc -c -o $< $(CFLAGS) $(LDFLAGS)