$NetBSD: patch-ab,v 1.3 2003/02/06 10:36:39 jmmv Exp $ --- Makefile.prog.orig Sat Jul 6 23:55:41 1996 +++ Makefile.prog @@ -1,5 +1,7 @@ CLEANFILES=$(PROG)$(EXE) $(OBJS) core +.PHONY: all pure install + all: $(PROG)$(EXE) pure: $(PROG).pure @@ -10,7 +12,7 @@ $(PROG)$(EXE): $(OBJS) $(COBJS) $(XLIBS) $(PROG).pure: $(OBJS) $(COBJS) $(XLIBS) $(PURIFY) $(CXX) $(ALL_CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(XLIBS) $(LIBS) -install: $(PROG)$(EXE) +install! $(PROG)$(EXE) -test -d $(bindir) || mkdir $(bindir) -rm -f $(bindir)/$(PROG)$(EXE) $(INSTALL) $(PROG)$(EXE) $(bindir)/$(PROG)$(EXE)