summaryrefslogtreecommitdiff
path: root/libsysfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libsysfs/Makefile')
-rw-r--r--libsysfs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/libsysfs/Makefile b/libsysfs/Makefile
index 79cc533959..b82acbdbf2 100644
--- a/libsysfs/Makefile
+++ b/libsysfs/Makefile
@@ -1,15 +1,15 @@
# Makefile for libsysfs.a
# Copyright (c) International Business Machines Corp., 2003
-H_INCLUDE=../include
+H_INCLUDE=.
LIB_INCLUDE=.
OBJS=sysfs_bus.o sysfs_class.o sysfs_device.o sysfs_dir.o sysfs_driver.o \
- sysfs_utils.o
+ sysfs_utils.o dlist.o
# Install directory
# Options
-CFLAGS=-O2 -Wall -ansi -g
+CFLAGS=-O2 -Wall -g
# sysfs library
LIBSYSFS=libsysfs.a
@@ -38,5 +38,8 @@ sysfs_driver.o: sysfs_driver.c
sysfs_utils.o: sysfs_utils.c
$(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_utils.c
+dlist.o: dlist.c
+ $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c dlist.c
+
clean:
$(RM) *.o *~ core $(LIBSYSFS)