36 lines
618 B
Makefile
36 lines
618 B
Makefile
#
|
|
# Makefile to create binary form COBOL source
|
|
#
|
|
|
|
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 -t ${COPYBOOKS}
|
|
COBFLAGS=-P ${COPYBOOKS}
|
|
ASMFLAGS=-D
|
|
|
|
SRCS = test13.cob
|
|
|
|
OBJS = $(SRCS:.cob=.o)
|
|
|
|
PROG = test13
|
|
|
|
include ${prefix}/config/COB.rules.in
|
|
#include ${prefix}/config/COB.build.tmpl.in
|
|
include ${prefix}/config/COB.build.tmpl.t.in
|
|
|
|
clean: cleanbase
|
|
#
|