File: Makefile.lib

package info (click to toggle)
nethack 3.4.3-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,512 kB
  • ctags: 16,957
  • sloc: ansic: 196,792; cpp: 7,083; sh: 6,785; yacc: 2,005; lex: 377; makefile: 120; awk: 89; sed: 11
file content (21 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	SCCS Id: @(#)Makefile.lib	3.4	1990/22/02
#	Nethack makefile for Fred fish termlib -- Norman Meluch
#
CC	= cl /c
MODEL	= L
CFLAGS	= /A$(MODEL) /Os /Oa /Gs /Zp1 /W0
#
# Termcap routines.
TERMLIB = termlib.lib
#
TL_LOBJECTS =	tgetent.o	tgetflag.o 	tgetnum.o	\
		tgetstr.o	tgoto.o		tputs.o		\
		isdigit.o	fgetlr.o
#
.SUFFIXES: .exe .o .c .obj .asm
#
.c.o:
	$(CC) $(CFLAGS) /Fo$*.o $*.c
#
$(TERMLIB):	$(TL_LOBJECTS)
	lib $(TERMLIB) -+ $(TL_LOBJECTS);