[Mirmince-commits] {tests} branch master updated. e8e2725eff82ffa39643235fc3790b6786fe76d3

tg at freewrt.org tg at freewrt.org
Thu Jan 10 21:56:17 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Supplemental git repository tests for FreeWRT project mirmince".

The branch, master has been updated
       via  e8e2725eff82ffa39643235fc3790b6786fe76d3 (commit)
       via  c87875186b698bd20222f67f051b2c96b9326ee0 (commit)
      from  0aa0413552950a0cc350e6f0ccdeb5408d15587a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e8e2725eff82ffa39643235fc3790b6786fe76d3
Author: Thorsten Glaser <tg at freewrt.org>
Date:   Thu Jan 10 21:55:50 2013 +0000

    let this actually use the .c.o: and .o: implicit targets

commit c87875186b698bd20222f67f051b2c96b9326ee0
Author: Thorsten Glaser <tg at freewrt.org>
Date:   Thu Jan 10 21:40:43 2013 +0000

    let this build with pmake on Debian

-----------------------------------------------------------------------

Summary of changes:
 .gitignore              |    1 +
 GNUmakefile             |    3 +++
 BSDmakefile => Makefile |   11 +++++++++++
 3 files changed, 15 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 GNUmakefile
 rename BSDmakefile => Makefile (91%)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b672fde
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+obj
diff --git a/GNUmakefile b/GNUmakefile
new file mode 100644
index 0000000..73c404d
--- /dev/null
+++ b/GNUmakefile
@@ -0,0 +1,3 @@
+help:
+%:
+	@echo Use mirmake or pmake to build MirMinze.
diff --git a/BSDmakefile b/Makefile
similarity index 91%
rename from BSDmakefile
rename to Makefile
index 1198109..99cffce 100644
--- a/BSDmakefile
+++ b/Makefile
@@ -32,6 +32,11 @@ CC+=		-v
 
 all:
 
+obj:
+	mkdir -p ${.CURDIR:Q}/obj
+
+depend:
+
 PROGS+=		hw-unix
 CLEANFILES+=	hw-unix.out
 
@@ -59,5 +64,11 @@ LINK.c:=	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}
 
 all: ${PROGS}
 
+.for _i in ${PROGS}
+SRCS_${_i}?=${_i:=.c}
+OBJS_${_i}?=${SRCS_${_i}:S/.c/.o/:S/.S/.o/}
+${_i}: ${OBJS_${_i}}
+.endfor
+
 clean:
 	rm -f ${PROGS} ${PROGS:=.o} ${CLEANFILES}


hooks/post-receive
-- 
Supplemental git repository tests for FreeWRT project mirmince
(FreeWRT project mirmince repository tests)


More information about the Mirmince-commits mailing list