Subversion Repositories programming

Rev

Blame | Last modification | View Log | RSS feed

SHELL           = /bin/sh
CC                      = g++

TARGET          = rb
SRCS            = rbuffer.cpp RingBuffer.cpp
OBJS            = $(SRCS:.c=.o)
HDRS            = 

ANAL            = -Wall -Wmissing-prototypes -Wshadow
CFLAGS          = -mtune=i686 -O2 -fomit-frame-pointer -pipe
LIBS            =

PURIFY          = /usr/local/bin/purify

all:    $(TARGET)

purify: purify-$(TARGET)

$(OBJS):        $(HDRS)

$(TARGET):      $(OBJS)
        $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)

purify-$(TARGET):       $(OBJS)
        $(PURIFY) $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)

clean:
        -rm *.o $(TARGET)