summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile30
-rw-r--r--examples/Makefile.examples9
2 files changed, 6 insertions, 33 deletions
diff --git a/examples/Makefile b/examples/Makefile
index f109739..8d6b5a3 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,27 +1,9 @@
-#
-# Copyright (c) 2001-2002 Silicon Graphics, Inc. All Rights Reserved.
-# Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de>
-#
-# This program is free software: you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
+CFLAGS = -g -Wall -I../include
+LDFLAGS = -lattr
-TOPDIR = ..
-include $(TOPDIR)/include/builddefs
+PROGS = copyattr
-LSRCFILES = copyattr.c
-LDIRT = copyattr
+all : $(PROGS)
-include $(BUILDRULES)
-
-default install install-dev install-lib:
+clean:
+ rm -f $(PROGS)
diff --git a/examples/Makefile.examples b/examples/Makefile.examples
deleted file mode 100644
index 05c7831..0000000
--- a/examples/Makefile.examples
+++ /dev/null
@@ -1,9 +0,0 @@
-CFLAGS = -g -Wall
-LDFLAGS = -lattr
-
-PROGS = copyattr
-
-all : $(PROGS)
-
-clean:
- rm -f $(PROGS)