Mercurial > hg > FederatedLinda
diff tools/Linda_library/Makefile @ 68:1b86f7cfb01a
add examples
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 21 Oct 2009 21:11:43 +0900 |
parents | 6c40056777be |
children |
line wrap: on
line diff
--- a/tools/Linda_library/Makefile Sat Jun 06 14:33:59 2009 +0900 +++ b/tools/Linda_library/Makefile Wed Oct 21 21:11:43 2009 +0900 @@ -1,7 +1,8 @@ CC=gcc AR=ar -CFLAGS=-c -g -Wall -FLAGS=-Wall -DDEBUG +CFLAGS=-g -O2 -Wall +#FLAGS=-Wall -DDEBUG +FLAGS=-Wall TARGET=ldserv liblindaapi.a LINDADIR=. LIBDIR=$(LINDADIR) @@ -11,9 +12,11 @@ ldserv : $(LINDADIR)/ldserv.c $(CC) $(FLAGS) -g -o ldserv $(LINDADIR)/ldserv.c -liblindaapi.a : $(LINDADIR)/lindaapi.c - $(CC) $(FLAGS) -g -c -o lindaapi.o $(LINDADIR)/lindaapi.c - $(AR) cr $(LIBDIR)/liblindaapi.a lindaapi.o +.c.o: + $(CC) $(CFLAGS) -c $^ -o $@ + +liblindaapi.a : lindaapi.o + $(AR) crus $@ $^ clean : rm -f $(TARGET) *.o