File: makefile.djg

package info (click to toggle)
regina 0.08e-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,128 kB
  • ctags: 2,840
  • sloc: ansic: 23,618; sh: 1,520; lex: 1,371; yacc: 1,115; makefile: 562; cpp: 280
file content (72 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# Makefile for Regina REXX Interpreter
#
# Using DJGPP 2 under DOS
#
# No support for DLLs under DJGPP so no instructions applicable
#
SHELL = command.com
SRCDIR=h:/regina08
CC = gcc

ifeq ($(DEBUG),Y)
OPTIMIZE = -g
else
OPTIMIZE = -O2 -DNDEBUG
endif

ifeq ($(TRACEMEM),Y)
MEMTRACE = -DTRACEMEM
else
MEMTRACE = 
endif

ifeq ($(FLISTS),N)
USEFLISTS = -DNOFLISTS
else
USEFLISTS =
endif

CEXTRA = -DPOSIX_SOURCE -DDOS
EEXTRA =
DYN_COMP =
LIBS =
SHLIBS =
SHL =
LD_RXLIB1=
LD_RXLIB2=
SHL_LD=
SHL_TARGETS=
LDEXTRA=coff2exe $@
LIBPRE = lib
LIBFILE = regna
OBJECTS = @$(SRCDIR)/go32.rsp
OSAVE = .sav
MV= +ren
#
SHLFILE = regina
OBJ = o
EXE =
LIBPST = a
LIBEXE = ar
LIBFLAGS = cr $(LIBPRE)$(LIBFILE).$(LIBPST)
LIBLINK = -L. -l$(LIBFILE)
LINKSHL = $(LIBPRE)$(SHLFILE).$(SHL)
RXLIB = rxlib
GETOPT =
RM = -del

RANLIB_LIB=-ranlib $(LIBPRE)$(LIBFILE).a

#
# If your compiler can handle the combination of: -c -o file.sho, then
# uncomment the macro CC2O and comment out the 3 macros before CC2O
#
CC2O=-o $@
#
# Include the common rules for the interpreter
#
include $(SRCDIR)/makefile.com
#
# End of makefile
#