]> mj.ucw.cz Git - nwho.git/blob - Makefile
Introduced the nwho service.
[nwho.git] / Makefile
1 # Makefile for the ywho toolkit
2
3 CFLAGS=-O2 -m486 -fomit-frame-pointer -Wall -Wno-parentheses -malign-loops=0 -malign-jumps=0 -malign-functions=2
4 LDFLAGS=-s
5
6 all: ywho nwhod nwho
7
8 ywho: ywho.o
9
10 ywho.o: ywho.c
11
12 nwhod: nwhod.o
13
14 nwhod.o: nwhod.c net.h
15
16 nwho: nwho.o
17
18 nwho.o: nwho.c net.h
19
20 clean:
21         rm -f *.o ywho nwhod nwho *~
22
23 install:
24         strip ywho
25         install -s -m 755 ywho nwho /usr/bin
26         ln -sf nwho /usr/bin/nuptime
27         install -s -m 755 nwhod /usr/sbin
28         install -d -m 755 /var/spool/nwho