Copy the script below and paste it into the makefile file in the Editor view:
all: hello clean: -rm main.o hello.exe hello hello: main.o g++ -g -o hello main.o main.o: main.cpp g++ -c -g main.cpp
Copy the script below and paste it into the makefile file in the Editor view:
all: hello clean: -rm main.o hello.exe hello hello: main.o g++ -g -o hello main.o main.o: main.cpp g++ -c -g main.cpp
Copyright (c) 2000, 2025 Contributors to the Eclipse Foundation