38 lines
735 B
Makefile
38 lines
735 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
|
|
#LIBS=${g_libraries} -L../../lib -lhtcobol -ldb -lncurses -ldl -lm
|
|
LDFLAGS=
|
|
#COBFLAGS=-P -g -D -t ${COPYBOOKS}
|
|
COBFLAGS=-P ${COPYBOOKS}
|
|
ASMFLAGS=-D
|
|
|
|
SRCS = test11.cob
|
|
|
|
OBJS = $(SRCS:.cob=.o)
|
|
|
|
PROG = test11
|
|
|
|
include ${prefix}/config/COB.rules.in
|
|
#include ${prefix}/config/COB.build.tmpl.in
|
|
include ${prefix}/config/COB.build.tmpl.t.in
|
|
|
|
clean: cleanbase
|
|
@${RM} phone.dat test.dat phone1.dat test1.dat
|
|
#
|