File: makefile

package info (click to toggle)
dosemu-freedos 1%3A0.0.b9r5a-3
  • links: PTS
  • area: contrib
  • in suites: etch-m68k
  • size: 19,768 kB
  • ctags: 23,285
  • sloc: ansic: 143,966; asm: 20,397; makefile: 3,868; perl: 1,106; yacc: 690; sh: 553; pascal: 297; xml: 150; cpp: 67
file content (31 lines) | stat: -rw-r--r-- 590 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
#
# Makefile for the cats library by Jim Hall (jhall@freedos.org).
#

compiler = tcc -c
linker   = tcc
lib      = tlib

options = -w -Z -O -N

objects = get_line.obj db.obj catgets.obj

all: $(objects)
	@..\delete catsdb.lib
	@$(lib) catsdb.lib+ get_line.obj
	@$(lib) catsdb.lib+ db.obj
	@$(lib) catsdb.lib+ catgets.obj

get_line.obj: get_line.c
	@$(compiler) $(options) get_line.c

db.obj: db.c
	@$(compiler) $(options) db.c

catgets.obj: catgets.c
	@$(compiler) $(options) catgets.c

clean:
	@..\delete get_line.obj
	@..\delete db.obj
	@..\delete catgets.obj