Idefisk
Tools
Tutorials
Reviews
VoIP Providers
Archives
AsteriskGuru Archives
Mailing List Archives
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
[Asterisk-cvs] asterisk/stdtime Makefile,1.1,1.2
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
View previous topic
::
View next topic
Author
Message
markster at lists.digium.
Guest
Posted: Sat Sep 27, 2003 2:31 am
Post subject: [Asterisk-cvs] asterisk/stdtime Makefile,1.1,1.2
Update of /usr/cvsroot/asterisk/stdtime
In directory mongoose.digium.com:/tmp/cvs-serv19355/stdtime
Modified Files:
Makefile
Log Message:
make subdirs always build as appropriate
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/stdtime/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile 13 Sep 2003 20:51:48 -0000 1.1
+++ Makefile 27 Sep 2003 02:32:30 -0000 1.2
@@ -1,19 +1,26 @@
-
CC=gcc
#CFLAGS=-Wall
INCLUDE=-I../include
-all: localtime.o
+OBJS=localtime.o
-clean::
- rm -f localtime.o test
+all: libtime.a
-depend::
- @echo "Nothing to do for depend"
+libtime.a: $(OBJS)
+ ar rv $@ $(OBJS)
+ ranlib $@
-test: test.c
- ${CC} ${CFLAGS} -o test test.c
+clean:
+ rm -f libtime.a *.o test
-localtime.o: localtime.c
+depend: .depend
+
+.depend:
+ ../mkdep $(CFLAGS) *.c
+test: test.c
+ ${CC} ${CFLAGS} -o test test.c
+ifneq ($(wildcard .depend),)
+include .depend
+endif
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
All times are GMT
Page
1
of
1
Jump to:
Select a forum
Asterisk Mailing Lists
----------------
Asterisk-Users
Asterisk-Dev
Asterisk-CVS
Asterisk-Biz
Asterisk-Doc
Asterisk-BSD
Asterisk-Announce
Asterisk Call Centers
Asterisk-Video
Asterisk-Speech-Rec
Bristuff-Users
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Powered by
phpBB
© 2001, 2005 phpBB Group