view TaskManager/Test/Sum/Makefile @ 5:75f184d16fa5

*** empty log message ***
author gongo
date Tue, 05 Feb 2008 23:32:43 +0900
parents 2356238ebea7
children 39ce245235d4
line wrap: on
line source

TARGET = main

CC      = ccmalloc --no-wrapper g++
CFLAGS  = -Wall -O2 -g
LIBS    = -L../../ -lmanager ~/src/ccmalloc-0.4.0/obj/ccmalloc-g++.o \
	~/src/ccmalloc-0.4.0/lib/libccmalloc.a -ldl
INCLUDE = -I../../../include/TaskManager


all: $(TARGET)

$(TARGET): main.o
	$(CC) $< -o $@ $(LIBS)

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

clean:
	rm -f main.o $(TARGET)
	rm -f *~ \#*