svn commit: smb-build r77 - in trunk: . build/smb_build
jelmer at samba.org
jelmer at samba.org
Tue Dec 25 17:49:29 GMT 2007
Author: jelmer
Date: 2007-12-25 17:49:29 +0000 (Tue, 25 Dec 2007)
New Revision: 77
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=smb-build&rev=77
Log:
Test what automatic variables the various makes support.
Added:
trunk/bar.c
Modified:
trunk/
trunk/Makefile
trunk/build/smb_build/makefile.pm
trunk/foo.c
Changeset:
Property changes on: trunk
___________________________________________________________________
Name: bzr:revision-info
- timestamp: 2007-12-25 18:15:07.289999962 +0100
committer: Jelmer Vernooij <jelmer at samba.org>
properties:
branch-nick: trunk
+ timestamp: 2007-12-25 18:49:17.948999882 +0100
committer: Jelmer Vernooij <jelmer at samba.org>
properties:
branch-nick: trunk
Name: bzr:file-ids
-
+ bar.c bar.c-20071225174459-0xzkxw7mbdu4o19h-1
Name: bzr:revision-id:v3-trunk0
- 65 jelmer at samba.org-20071225171507-h0ojtbcr6cmuav1t
+ 65 jelmer at samba.org-20071225171507-h0ojtbcr6cmuav1t
66 jelmer at samba.org-20071225174917-vkh3hrm75fd523v7
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2007-12-25 17:15:56 UTC (rev 76)
+++ trunk/Makefile 2007-12-25 17:49:29 UTC (rev 77)
@@ -235,6 +235,11 @@
foo: foo.o
$(CC) -o foo foo.o
-all: basics \
- foo
+all: basics bla.a
+bla.a: foo.o bar.o
+ echo MAKE SUPPORTS ?: $?
+ echo MAKE SUPPORTS ^: $^
+ echo MAKE SUPPORTS +: $+
+ echo MAKE SUPPORTS |: $|
+
Added: trunk/bar.c
===================================================================
--- trunk/bar.c 2007-12-25 17:15:56 UTC (rev 76)
+++ trunk/bar.c 2007-12-25 17:49:29 UTC (rev 77)
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int bar()
+{
+ return 0;
+}
Modified: trunk/build/smb_build/makefile.pm
===================================================================
--- trunk/build/smb_build/makefile.pm 2007-12-25 17:15:56 UTC (rev 76)
+++ trunk/build/smb_build/makefile.pm 2007-12-25 17:49:29 UTC (rev 77)
@@ -735,8 +735,11 @@
ctags:
ctags `find $(srcdir) -name "*.[ch]"`
-foo: foo.o
- $(CC) -o foo foo.o
+bla.a: foo.o bar.o
+ echo MAKE SUPPORTS ?: $?
+ echo MAKE SUPPORTS ^: $^
+ echo MAKE SUPPORTS +: $+
+ echo MAKE SUPPORTS |: $|
__EOD__
Modified: trunk/foo.c
===================================================================
--- trunk/foo.c 2007-12-25 17:15:56 UTC (rev 76)
+++ trunk/foo.c 2007-12-25 17:49:29 UTC (rev 77)
@@ -1,6 +1,6 @@
#include <stdio.h>
-int main()
+int foo()
{
return 0;
}
More information about the samba-cvs
mailing list