File: Makefile.bc

package info (click to toggle)
edlin 2.24-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 692 kB
  • sloc: sh: 3,294; ansic: 2,889; makefile: 13
file content (28 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download | duplicates (3)
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
# Makefile for FreeDOS EDLIN
# uses Borland C/C++ 3.1 - may also work with other Borland-like compilers

CC=bcc
CFLAGS=-mc -DHAVE_CONFIG_H
LDFLAGS=
LDLIBS=

SOURCES=defines.c dynstr.c edlib.c edlin.c 
OBJ=$(SOURCES:.c=.obj)
EXE=edlin.exe

all: edlin.exe

edlin.exe: $(OBJ) config.h
	$(CC) $(CFLAGS) $(LDFLAGS) -e$(EXE) $(OBJ) $(LDLIBS)

config.h:
	-copy config-h.bc config.h

clean:
	-del *.obj

realclean: clean
	-del config.h

distclean: realclean
	-del $(EXE)