~ubuntu-branches/ubuntu/quantal/less/quantal

« back to all changes in this revision

Viewing changes to Makefile.o9c

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Schoepf
  • Date: 2002-04-04 16:43:52 UTC
  • Revision ID: james.westby@ubuntu.com-20020404164352-qldq048yoc7x5sd5
Tags: upstream-374
ImportĀ upstreamĀ versionĀ 374

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for less.
 
2
# OS-9 version for Microware C 3.2.
 
3
 
 
4
#### Start of system configuration section. ####
 
5
 
 
6
CC = cc
 
7
CPPFLAGS = -D_OSK_MWC32 -DDEBUG=0 -DSTRCSPN
 
8
CFLAGS = -k=0 -v=.
 
9
CFLAGS_COMPILE_ONLY = -r 
 
10
LDFLAGS = -igm=8
 
11
LIBS = -l=/dd/lib/termlib.l
 
12
O = r
 
13
 
 
14
 
 
15
#### End of system configuration section. ####
 
16
 
 
17
.SUFFIXES: .c .${O}
 
18
 
 
19
# This rule allows us to supply the necessary -D options
 
20
# in addition to whatever the user asks for.
 
21
 
 
22
.c.${O}:
 
23
        ${CC} ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $<
 
24
 
 
25
OBJ =   main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
 
26
        command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
 
27
        help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
 
28
        lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
 
29
        output.${O} position.${O} prompt.${O} search.${O} signal.${O} \
 
30
        tags.${O} ttyin.${O} version.${O}  regexp.${O}
 
31
 
 
32
all: less lessecho lesskey
 
33
 
 
34
less: ${OBJ}
 
35
        ${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}
 
36
 
 
37
lesskey: lesskey.${O} version.${O}
 
38
        ${CC} lesskey.${O} version.${O} -f=$@ ${LDFLAGS}
 
39
 
 
40
lessecho: lessecho.${O} version.${O}
 
41
        ${CC} lessecho.${O} version.${O} -f=$@ ${LDFLAGS}
 
42
 
 
43
${OBJ}: defines.h less.h
 
44
 
 
45
defines.h: defines.o9
 
46
        copy defines.o9 defines.h -rf