home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-03-15 | 655 b | 40 lines |
- #
- # Simple makefile for ssh 1.20
- #
-
- # Destination directory for binary
- BINDIR= /usr/local/bin
-
- CC= cc
- FLAGS= -O
- PROG= ssh
- SOURCES= ssh.c
- OBJS= ssh.o
-
- # Do not change the SHELL definition except if
- # (by some reason) 'sh' is located somewhere
- # else then in /bin.
- DSHELL=-DSHELL=\"/bin/sh\"
-
- # SUN/SPARC:
- # This should work for all SUN:s.
- TARGET= -DSUN
-
- # SYS5:
- # This should work for all System V machines.
- #TARGET= -DSYSV
-
- SCCSID= -DSCCSID
- DEFINES= $(TARGET) $(SCCSID) $(DSHELL)
- CFLAGS= $(FLAGS) $(DEFINES)
-
- $(PROG): $(OBJS)
- $(CC) $(CFLAGS) -o $(PROG) $(OBJS)
-
- clean:
- rm -f core $(PROG) $(OBJS)
-
- install: $(PROG)
- strip $(PROG)
- mv $(PROG) $(BINDIR)
-