Article 58FD8 make auto complete? Programmable Completion?

make auto complete? Programmable Completion?

by
Johannes33
from LinuxQuestions.org on (#58FD8)
Hi,
Lets say that I have a directory with the file:
testfile.c.

In the same directory I have a Makefile:
Code:CFLAGS=-Wall -g -W -pedantic -ansi -std=c99
CC=gccI call make with

>make te<tab>
but I get no auto completion.

If I add "testfile:" to the Makefile:
Code:CFLAGS=-Wall -g -W -pedantic -ansi -std=c99
CC=gcc
testfile:And I call make with:

>make te<tab>

it will generate

>make testfile

so auto complete works.

But how do I get it to work without "testfile:" in the Makefile?latest?d=yIl2AUoC8zA latest?i=4mxKwdjo00c:SI5zxEo501U:F7zBnMy latest?i=4mxKwdjo00c:SI5zxEo501U:V_sGLiP latest?d=qj6IDK7rITs latest?i=4mxKwdjo00c:SI5zxEo501U:gIN9vFw4mxKwdjo00c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments