view test/list/Makefile @ 8:07fab8c367b2

made src directory and move all source files into it. support autocont and automake tools.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 08 Jan 2010 14:40:49 +0900
parents 803d6bf22e6d
children
line wrap: on
line source

CC = gcc

INCLUDE = -I../../src
CFLAGS = -g -O0 $(INCLUDE)

all: testlist testiter

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

testlist: testlist.o ../../src/List.o
	$(CC) -o $@ $^
testiter: testiter.o ../../src/List.o
	$(CC) -o $@ $^