1834141 Members
2193 Online
110064 Solutions
New Discussion

makefile

 
wpeters
Occasional Contributor

makefile

I am using "ifdef" in my makefile. It works under one group but not the other. For instances, I have
two accounts one under /CP/home/me and
/CK/home/me both running under hp-ux 10.20 version on the same server.

I can do a "make" on CP group using "ifdef" in the makefile but can't on CK group.
The makefile look something like this:
.....
ifdef HMI
CFLAGS = -Aa -Dhpux -D_HPUX_SOURCE
else
CFLAGS = -Aa +a1 +eh
endif

The error came back on CK when doing a make:

Make: Must be a separator on rules line 55.

(CFLAGS = -Aa -Dhpux -D_HPUX_SOURCE is line 55 in my makefile.)

I would appricate for you help.
Thank you