[hackers] [wmii] Change .O extension to .out || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 3 Sep 2009 18:23:04 +0000 (UTC)

changeset: 2482:516b4a4b1f12
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Sep 03 14:20:44 2009 -0400
files: mk/hdr.mk mk/many.mk mk/one.mk
description:
Change .O extension to .out

diff -r 5bfb5a325469 -r 516b4a4b1f12 mk/hdr.mk
--- a/mk/hdr.mk Wed Sep 02 20:36:25 2009 -0400
+++ b/mk/hdr.mk Thu Sep 03 14:20:44 2009 -0400
@@ -28,7 +28,7 @@
 BINSH != echo /bin/sh
 
 .SILENT:
-.SUFFIXES: .O .o .o_pic .c .sh .rc .$(SOEXT) .awk .1 .man1 .depend .install .uninstall .clean
+.SUFFIXES: .out .o .o_pic .c .sh .rc .$(SOEXT) .awk .1 .man1 .depend .install .uninstall .clean
 all:
 
 .c.depend:
@@ -43,18 +43,18 @@
 .c.o_pic:
         $(COMPILEPIC) $@ $<
 
-.o.O:
+.o.out:
         $(LINK) $@ $<
-.c.O:
+.c.out:
         $(COMPILE) ${<:.c=.o} $<
         $(LINK) $@ ${<:.c=.o}
 
-.sh.O:
+.sh.out:
         echo FILTER $(BASE)$<
         $(FILTER) $< >$@
         sh -n $@
         chmod 0755 $@
-.rc.O .awk.O:
+.rc.out .awk.out:
         echo FILTER $(BASE)$<
         $(FILTER) $< >$@
         chmod 0755 $@
@@ -62,11 +62,11 @@
         echo TXT2TAGS $(BASE)$<
         txt2tags -o- $< | $(FILTER) >$@
 
-.O.install:
+.out.install:
         echo INSTALL $$($(CLEANNAME) $(BASE)$*)
         cp -f $< $(DESTDIR)$(BIN)/$*
         chmod 0755 $(DESTDIR)$(BIN)/$*
-.O.uninstall:
+.out.uninstall:
         echo UNINSTALL $$($(CLEANNAME) $(BASE)$*)
         rm -f $(DESTDIR)$(BIN)/$*
 
@@ -97,7 +97,7 @@
         echo UNINSTALL man $$($(CLEANNAME) $*'(1)')
         rm -f $(DESTDIR)$(MAN)/man1/$<
 
-.O.clean:
+.out.clean:
         echo CLEAN $$($(CLEANNAME) $(BASE)$<)
         rm -f $< || true 2>/dev/null
         rm -f $*.o || true 2>/dev/null
diff -r 5bfb5a325469 -r 516b4a4b1f12 mk/many.mk
--- a/mk/many.mk Wed Sep 02 20:36:25 2009 -0400
+++ b/mk/many.mk Thu Sep 03 14:20:44 2009 -0400
@@ -1,4 +1,4 @@
-PROGS = ${TARG:=.O}
+PROGS = ${TARG:=.out}
 
 all: $(OFILES) $(PROGS)
 
@@ -12,7 +12,7 @@
         echo ' Bin: $(BIN)'
 
 manyclean:
- for i in ${TARG:=.o} ${TARG:=.O} $(OFILES); do \
+ for i in ${TARG:=.o} ${TARG:=.out} $(OFILES); do \
                 [ -e $$i ] && \
                 echo CLEAN $$($(CLEANNAME) $(BASE)$$i); \
                 rm -f $$i; \
diff -r 5bfb5a325469 -r 516b4a4b1f12 mk/one.mk
--- a/mk/one.mk Wed Sep 02 20:36:25 2009 -0400
+++ b/mk/one.mk Thu Sep 03 14:20:44 2009 -0400
@@ -1,4 +1,4 @@
-PROG = $(TARG).O
+PROG = $(TARG).out
 OFILES = ${OBJ:=.o}
 
 all: $(PROG)
Received on Thu Sep 03 2009 - 18:23:04 UTC

This archive was generated by hypermail 2.2.0 : Thu Sep 03 2009 - 18:24:05 UTC