Problem with a simple makefile
Hello,
I don't know much about C programming and makefiles but I have to work on a PAM module. I'm stuck when trying to compile the pam_permit example : Code:
localhost:~/pam_permit# make My distro is Debian, kernel 2.4. Can you tell me how to compile the file ? Thanks. |
I don't know without looking at the makefile (and I didn't find it easily from the link you gave), but that error is usually caused by not putting a "<TAB>" character to indent your rule.
EXAMPLE: myfile.o: myfile.c $(CC) -c $(CFLAGS) myfile.c <= THERE NEEDS TO BE A "TAB" CHARACTER BETWEEN THE LEFT MARGIN AND THE "$(CC)". BLANKS WILL CAUSE "MISSING DELIMITER" ERROR 'Hope that helps .. PSM |
All times are GMT -5. The time now is 10:13 PM. |