Reputation: 11
after getting gnucobol set up on my computer I made a simple hello world program, found the necessary command to build it, and... got the error mentioned in the title, I added gnucobol to my PATH variable and the filepath mentioned in the title does exist, what's the issue? I have restated my computer multiple times and verified that the file does exist, I also have this makefile if that helps anything
# Compiler
COBC = cobc
# Flags
COBFLAGS = -x -o
# Program name
PROGRAM = CrownXVanguard
# Source file
SRC = main.cbl
# Default target
all: $(PROGRAM)
# Build the program
$(PROGRAM): $(SRC)
$(COBC) $(COBFLAGS) $(PROGRAM) $(SRC)
# Clean target
clean:
rm -f $(PROGRAM)
# Phony targets
.PHONY: all clean
Upvotes: 0
Views: 55