blob: 5eedfc8246c8a43f52f0fb8d2a5756cd88e5f959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- Makefile.orig 2004-09-04 20:15:28.000000000 -0400
+++ Makefile 2004-09-04 20:18:53.000000000 -0400
@@ -3,6 +3,7 @@
CC = gcc
CFLAGS += -Wall -Wstrict-prototypes
+LDFLAGS += -Wl,-z,now
LIB =
SRCS = main.c subs.c database.c job.c
OBJS = main.o subs.o database.o job.o
@@ -14,11 +15,11 @@
all: ${PROTOS} crond crontab
crond: ${OBJS}
- ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB}
+ ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB} ${LDFLAGS}
crontab: ${D_OBJS}
- ${CC} ${CFLAGS} -o crontab ${D_OBJS}
+ ${CC} ${CFLAGS} -o crontab ${D_OBJS} ${LDFLAGS}
protos.h: ${SRCS} ${D_SRCS}
|