From dbfca826b1f52f213593c9a2f19c2d83d4888029 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 6 Dec 2010 20:43:58 -0500 Subject: More sysfsutils stuff but the linker is not working just yet --- src/Makefile.am | 3 +++ src/Makefile.in | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 47767f5..20ebdd4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,8 @@ AUTOMAKE_OPTIONS = foreign +AM_CFLAGS=-Wall -O2 -I../include -I../sysfsutils/include -static +AM_LDFLAGS=-lpthread -lrt + sbin_PROGRAMS= netnuke netnuke_SOURCES= bus.c \ diff --git a/src/Makefile.in b/src/Makefile.in index 48d737a..bcacb4c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -150,6 +150,8 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign +AM_CFLAGS = -Wall -O2 -I../include -I../sysfsutils/include -static +AM_LDFLAGS = -lpthread -lrt netnuke_SOURCES = bus.c \ misc.c \ netnuke.c \ -- cgit