vanam srihari kumar wrote:
I am using gpc 2.1 version.
Is there any way to work out below code without changing the make file?
No, because the Makefile is wrong. It's missing a dependency. Try:
ModDemo3.o :ModDemo3.pas DemoMod3.o
If you use gpc --automake or the gp utility, you don't have to take care of depedencies yourself, but if you use hand-made Makefiles, you have to do this.
Frank