X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Flist%2FMakefile;h=79a09e313ad6bff1934b936e7e1d30977e021f21;hb=HEAD;hp=122417d5844365a3be58863e712c10430d075096;hpb=f37f1d93b55ca5f03761a840a8736613eb04f90b;p=urcu.git diff --git a/doc/examples/list/Makefile b/doc/examples/list/Makefile index 122417d..034a593 100644 --- a/doc/examples/list/Makefile +++ b/doc/examples/list/Makefile @@ -1,14 +1,22 @@ -# Copyright (C) 2013 Mathieu Desnoyers -# -# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED -# OR IMPLIED. ANY USE IS AT YOUR OWN RISK. -# -# Permission is hereby granted to use or copy this program for any -# purpose, provided the above notices are retained on all copies. -# Permission to modify the code and to distribute modified code is -# granted, provided the above notices are retained, and a notice that -# the code was modified is included with the above copyright notice. +# SPDX-FileCopyrightText: 2013 Mathieu Desnoyers # +# SPDX-License-Identifier: MIT + # This makefile is purposefully kept simple to support GNU and BSD make. -include Makefile.cds_list_add_rcu +all: + $(AM_V_at)$(MAKE) -f Makefile.cds_list_add_rcu + $(AM_V_at)$(MAKE) -f Makefile.cds_list_add_tail_rcu + $(AM_V_at)$(MAKE) -f Makefile.cds_list_del_rcu + $(AM_V_at)$(MAKE) -f Makefile.cds_list_for_each_rcu + $(AM_V_at)$(MAKE) -f Makefile.cds_list_for_each_entry_rcu + $(AM_V_at)$(MAKE) -f Makefile.cds_list_replace_rcu + +.PHONY: clean +clean: + $(AM_V_at)$(MAKE) -f Makefile.cds_list_add_rcu clean + $(AM_V_at)$(MAKE) -f Makefile.cds_list_add_tail_rcu clean + $(AM_V_at)$(MAKE) -f Makefile.cds_list_del_rcu clean + $(AM_V_at)$(MAKE) -f Makefile.cds_list_for_each_rcu clean + $(AM_V_at)$(MAKE) -f Makefile.cds_list_for_each_entry_rcu clean + $(AM_V_at)$(MAKE) -f Makefile.cds_list_replace_rcu clean