Makefile (395B)
1 include Makefile.configure 2 3 OBJS = ptime.o compats.o 4 5 ptime: $(OBJS) 6 $(CC) $(LDFLAGS) -o $@ $(OBJS) 7 8 install: 9 mkdir -p $(DESTIR)$(BINDIR) 10 mkdir -p $(DESTIR)$(MANDIR)/man1 11 $(INSTALL_PROGRAM) ptime $(DESTDIR)$(BINDIR)/ptime 12 $(INSTALL_MAN) ptime.1 $(DESTIR)$(MANDIR)/man1/ptime.1 13 14 uninstall: 15 rm -f $(DESTDIR)$(BINDIR)/ptime 16 rm -f $(DESTIR)$(MANDIR)/man1/ptime.1 17 18 clean: 19 rm -f $(OBJS) ptime