doc/examples: rename qsbr-minimal to rcu-flavor-qsbr
[urcu.git] / doc / examples / rcu-flavor-qsbr / Makefile
CommitLineData
8bad63a0
MD
1# Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2#
3# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
4# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
5#
6# Permission is hereby granted to use or copy this program for any
7# purpose, provided the above notices are retained on all copies.
8# Permission to modify the code and to distribute modified code is
9# granted, provided the above notices are retained, and a notice that
10# the code was modified is included with the above copyright notice.
c50fdd7c
MD
11#
12# This makefile is purposefully kept simple to support GNU and BSD make.
8bad63a0
MD
13
14CC = gcc
15LIBS = -lurcu-qsbr
16CFLAGS = -g -O2 -Wall
dfee93b1 17OBJECTS = rcu-flavor-qsbr.o
8bad63a0 18
dfee93b1 19all: rcu-flavor-qsbr
8bad63a0 20
dfee93b1 21rcu-flavor-qsbr: $(OBJECTS)
c50fdd7c
MD
22 $(CC) $(CFLAGS) $(LDFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
23 $(LIBS) -o $@ $(OBJECTS)
8bad63a0 24
dfee93b1 25rcu-flavor-qsbr.o: rcu-flavor-qsbr.c
c50fdd7c
MD
26 $(CC) $(CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS) \
27 -c -o $@ $<
8bad63a0
MD
28
29.PHONY: clean
30clean:
dfee93b1 31 rm -f *.o rcu-flavor-qsbr
This page took 0.023483 seconds and 4 git commands to generate.