Subversion Repositories programming

Compare Revisions

Ignore whitespace Rev 360 → Rev 359

/c_progs/RingBuffer/CMakeLists.txt
File deleted
/c_progs/RingBuffer/Makefile
0,0 → 1,29
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)