38 lines
636 B
Makefile
38 lines
636 B
Makefile
#
|
|
#
|
|
#
|
|
|
|
prefix=..
|
|
exec_prefix=../../compiler
|
|
g_includes=-I/usr/local/include
|
|
g_libraries=-L/usr/local/lib
|
|
|
|
CCX=gcc
|
|
#COB=${exec_prefix}/htcobol
|
|
COB=htcobol
|
|
ASM=as
|
|
RM=rm -f
|
|
|
|
COPYBOOKS= -I../copybooks -I.
|
|
INCLUDES=-I. ${g_includes}
|
|
LIBS=${g_libraries} -L../../lib -lhtcobol -ldb -ldl -lm
|
|
LDFLAGS=
|
|
#COBFLAGS=-P -g -D -v -t $(COPYBOOKS)
|
|
COBFLAGS=-P $(COPYBOOKS)
|
|
ASMFLAGS=-D
|
|
CCXFLAGS=-g ${INCLUDES}
|
|
|
|
SRCS = test21.cob
|
|
|
|
OBJS = $(SRCS:.cob=.o)
|
|
|
|
PROG = test21
|
|
|
|
#include ${prefix}/config/C.rules.in
|
|
include ${prefix}/config/COB.rules.in
|
|
#include ${prefix}/config/COB.build.tmpl.in
|
|
include ${prefix}/config/COB.build.tmpl.t.in
|
|
|
|
clean: cleanbase
|
|
#
|