File: Makefile

package info (click to toggle)
splitvt 1.6.5-0potato1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 332 kB
  • ctags: 399
  • sloc: ansic: 4,684; sh: 78; makefile: 55; perl: 15
file content (26 lines) | stat: -rw-r--r-- 693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This Makefile has been generated from the Configure script.
# Shareware copyright 1993, by Sam Lantinga


CC = gcc
PTYCHAR=\"abcdepqrstuvwxyz\"
HEXDIGIT=\"0123456789abcdef\"
PTYOPTS = -DPTYCHAR=$(PTYCHAR) -DHEXDIGIT=$(HEXDIGIT)

CFLAGS =  -O2 -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" $(PTYOPTS)
LIBS =  -lnsl
OBJS = splitvt.o misc.o utmp.o vt100.o videomem.o terminal.o vttest.o vtmouse.o \
       parserc.o lock.o cut-paste.o

splitvt: $(OBJS)
	$(CC) -s -o $@ $(OBJS) $(LIBS)

clean: 
	rm -f *.o core 

distclean: clean
	rm -f splitvt Makefile

install: 
	mv splitvt /usr/local/bin/splitvt
	mv examples/xsplitvt /usr/local/bin/xsplitvt