1 # Makefile for the init program (INIT)
11 # programs, flags, etc.
13 CFLAGS
= -I
$i -O
-D_MINIX
-D_POSIX_SOURCE
21 $(CC
) $(CFLAGS
) -o
$@
$(LDFLAGS
) $(OBJ
) -lsysutil
24 # install with other servers
25 install: /usr
/sbin
/$(SERVER
)
26 /usr
/sbin
/$(SERVER
): $(SERVER
)
27 install -o root
-cs
$?
$@
29 # clean up local files
31 rm -f
$(SERVER
) *.o
*.bak
34 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
36 # Include generated dependencies.