view 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
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

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

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

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