annotate TaskManager/Test/test_render/lindaapi/Makefile @ 547:c878c27678f4

modify lindaapi. modify Makefile.linux turn lindaapi.cc back to lindaapi.c. add [ extern "C" ] into lindaapi.h.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 13:53:29 +0900
parents 9f9d51b60062
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
547
c878c27678f4 modify lindaapi.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 543
diff changeset
1 CC=gcc
536
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 AR=ar
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 CFLAGS=-g -O2 -Wall
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 #FLAGS=-Wall -DDEBUG
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 FLAGS=-Wall
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 TARGET=liblindaapi.a
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 LINDADIR=.
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 LIBDIR=$(LINDADIR)
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 all : $(TARGET)
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 ldserv : $(LINDADIR)/ldserv.c
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 $(CC) $(FLAGS) -g -o ldserv $(LINDADIR)/ldserv.c
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14
543
9f9d51b60062 complex lindaapi
aaa
parents: 536
diff changeset
15 .cc.o:
536
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 $(CC) $(CFLAGS) -c $^ -o $@
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 liblindaapi.a : lindaapi.o
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 $(AR) crus $@ $^
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 clean :
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 rm -f $(TARGET) *.o
0c614303d305 add new lindaapi into test_render/lindaapi
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23