ALLPROG = print truefalse sleep finfo logname basename dirname \
tty pathchk tee head mkdir rmdir printenv id whoami \
- uname sync push ln unlink realpath strftime mypid
+ uname sync push ln unlink realpath strftime mypid setpgid
OTHERPROG = necho hello cat pushd
all: $(SHOBJ_STATUS)
mypid: mypid.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ mypid.o $(SHOBJ_LIBS)
+
+setpgid: setpgid.o
+ $(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ setpgid.o $(SHOBJ_LIBS)
+
# pushd is a special case. We use the same source that the builtin version
# uses, with special compilation options.
#
mkdir.o: mkdir.c
realpath.o: realpath.c
strftime.o: strftime.c
-mypid.o: mypid.c
+setpgid.o: setpgid.c