aa292cbf82
Open opens a new vt and runs a command on it. It can be used as a simple way to start several console logins without having to type your passwd on each VT in turn. open can be used as a simpler to use replacement for the doshell(8) command. open is similar in functionality to the AIX/RS6000 command of the same name.
25 lines
408 B
Text
25 lines
408 B
Text
--- Makefile.orig Fri Jul 19 07:32:07 1996
|
|
+++ Makefile Wed Feb 11 05:18:21 2004
|
|
@@ -1,6 +1,7 @@
|
|
|
|
-CC=gcc
|
|
-CFLAGS=-O2 -Wall -ansi
|
|
+CC?=gcc
|
|
+CFLAGS?=-O2 -Wall -ansi
|
|
+CFLAGS+=-Wall
|
|
LDFLAGS=$(CFLAGS) -s
|
|
|
|
SRC1=open.c
|
|
@@ -20,10 +21,10 @@
|
|
|
|
|
|
open: $(OBJ1)
|
|
- $(CC) $(LDLAGS) -o $@ $<
|
|
+ $(CC) $(LDLAGS) -o $@ $>
|
|
|
|
switchto: $(OBJ2)
|
|
- $(CC) $(LDLAGS) -o $@ $<
|
|
+ $(CC) $(LDLAGS) -o $@ $>
|
|
|
|
open.o: open.h
|
|
|