Makefile 233 B

12345678
  1. all: test_ringbuffer_read.cpp test_ringbuffer_write.cpp ringbuffer.cpp ringbuffer.h
  2. g++ test_ringbuffer_read.cpp ringbuffer.cpp -o rb_read
  3. g++ test_ringbuffer_write.cpp ringbuffer.cpp -o rb_write
  4. test: all
  5. ./rb_write
  6. ./rb_read