gnu make tutorial
M.W. Chang
mwchang
Mon May 17 11:59:25 PDT 2004
I should have read the "gnu make manual". I need to use a <tab>
character, not spaces. Anyway, the solution is:
# the final Makefile
objects = hello.o more.o
hello : $(objects)
harbour-link $(objects)
hello.o : hello.prg
more.o : more.prg
%.o : %.prg
gharbour $<
M.W. Chang wrote:
> anyone famililar with make?
>
> I have these steps:
> gharbour hello.prg -> creates a hello.o
> harbour-link hello.o -> creatse executable hello
More information about the Linux-users
mailing list