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 *~ \#*