view TaskManager/Test/test_render/lindaapi/Makefile @ 536:0c614303d305

add new lindaapi into test_render/lindaapi
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Wed, 21 Oct 2009 19:03:10 +0900
parents
children 9f9d51b60062
line wrap: on
line source

CC=gcc
AR=ar
CFLAGS=-g -O2 -Wall
#FLAGS=-Wall -DDEBUG
FLAGS=-Wall
TARGET=liblindaapi.a
LINDADIR=.
LIBDIR=$(LINDADIR)

all : $(TARGET)

ldserv : $(LINDADIR)/ldserv.c
	$(CC) $(FLAGS) -g -o ldserv $(LINDADIR)/ldserv.c

.c.o:
	$(CC) $(CFLAGS) -c $^ -o $@

liblindaapi.a : lindaapi.o
	$(AR) crus $@ $^

clean :
	rm -f $(TARGET) *.o