34 lines
650 B
Makefile
34 lines
650 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
|
|
|
|
INCLUDES=-I./ ${g_includes}
|
|
COPYBOOKS= -I../copybooks -I.
|
|
LIBS=${g_libraries} -L../../lib -lhtcobol -ldb -ldl -lm
|
|
LDFLAGS=
|
|
#COBFLAGS=-P -g -D -t ${COPYBOOKS}
|
|
COBFLAGS=-P ${COPYBOOKS}
|
|
ASMFLAGS=-D
|
|
CCXFLAGS=-g ${INCLUDES}
|
|
|
|
SRCS = test27.cob
|
|
|
|
OBJS = $(SRCS:.cob=.o)
|
|
|
|
PROG = test27
|
|
|
|
#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
|
|
@rm -f printing.text temp*cob
|
|
#
|