view tools/Linda_library/Makefile @ 67:264123227f0d

large tuple case (suggestion)
author one
date Sat, 06 Jun 2009 14:33:59 +0900
parents 6c40056777be
children 1b86f7cfb01a
line wrap: on
line source

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

all : $(TARGET)

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

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