File: makefile.bcc

package info (click to toggle)
levee 4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: ansic: 7,619; pascal: 994; sh: 185; makefile: 74; asm: 29
file content (48 lines) | stat: -rw-r--r-- 1,581 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# makefile for Levee, using pellesc

CC=bcc

CFLAGS=-I\bcc\include -Ios2 -wnone

OBJS = main.obj blockio.obj display.obj editcor.obj exec.obj find.obj \
    os2call.obj globals.obj insert.obj misc.obj \
    modify.obj move.obj ucsd.obj undo.obj home.obj \
    version.obj tag.obj getopt.obj logit.obj

lev.exe: $(OBJS)
	$(CC) -e lev.exe $(LDFLAGS) $(OBJS) $(LIBS)

version.c: VERSION mkversio.exe
	mkversio

clean:
	del *.obj lev.exe

distclean spotless: clean
	del Makefile config.cmd config.sub config.h config.mak config.sed config.md config.log

# Dependencies

version.obj    : version.c
mkversio.exe   : mkversio.c
logit.obj      : logit.c
blockio.obj    : levee.h extern.h blockio.c config.h
display.obj    : levee.h extern.h display.c config.h
editcor.obj    : levee.h extern.h editcor.c config.h
exec.obj       : levee.h extern.h exec.c config.h
find.obj       : levee.h extern.h grep.h find.c config.h
globals.obj    : levee.h globals.c config.h
insert.obj     : levee.h extern.h insert.c config.h
main.obj       : levee.h extern.h main.c config.h
misc.obj       : levee.h extern.h misc.c config.h
modify.obj     : levee.h extern.h grep.h modify.c config.h
move.obj       : levee.h extern.h move.c config.h
rmxcall.obj    : levee.h rmxcall.c config.h
ucsd.obj       : levee.h extern.h ucsd.c config.h
undo.obj       : levee.h extern.h undo.c config.h
os2call.obj    : levee.h extern.h os2call.c config.h
tag.obj        : levee.h tag.c config.h
home.obj       : levee.h extern.h home.c config.h

getopt.obj     : os2/getopt.c os2/getopt.h
	$(CC) $(CFLAGS) -c os2/getopt.c