aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-03 19:49:18 +0000
committerBill Nottingham <notting@redhat.com>1999-02-03 19:49:18 +0000
commit2aa519f20375260f6e22d408e8bce7fabf2140b6 (patch)
tree480cdc6654f652d9c38cdc8318a59d3059075afb
parentd17a1ff63d00bc6491c7c0e5308b83ad4aa758e5 (diff)
downloadinitscripts-2aa519f20375260f6e22d408e8bce7fabf2140b6.tar
initscripts-2aa519f20375260f6e22d408e8bce7fabf2140b6.tar.gz
initscripts-2aa519f20375260f6e22d408e8bce7fabf2140b6.tar.bz2
initscripts-2aa519f20375260f6e22d408e8bce7fabf2140b6.tar.xz
initscripts-2aa519f20375260f6e22d408e8bce7fabf2140b6.zip
*** empty log message ***
-rw-r--r--src/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile
index cced13c9..1fcf1b6c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,11 +1,12 @@
CFLAGS+=-Wall -D_GNU_SOURCE
PROGS=usernetctl doexec netreport testd usleep ipcalc initlog minilogd
+INITLOG_OBJS=initlog.o process.o
all: $(PROGS)
clean:
- rm -f $(PROGS)
+ rm -f $(PROGS) *.o
install:
mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)/usr/man/man1
@@ -32,12 +33,5 @@ install-test:
ipcalc: ipcalc.o
$(CC) $(LDFLAGS) -o $@ $< -lpopt
-minilogd: minilogd.o
- $(CC) $(LDFLAGS) -o $@ $<
-
-initlog: initlog.o process.o
- $(CC) $(LDFLAGS) -o $@ $< -lpopt
-
-clean:
- rm ipcalc initlog minilogd *.o core *~
-
+initlog: $(INITLOG_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -lpopt