depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
-dist-clean: clean
+distclean: clean
rm -f .depend
clean:
rm -f $(OBJS) $(TARGET)
install: all
- install -d "$(bindir)"
- install -c -s -m 755 $(TARGET) "$(bindir)"
+ install -d "$(DESTDIR)$(bindir)"
+ install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"
ifneq ($(wildcard .depend),)
include .depend