GNU make: invalid Argument??



  • Ich hab nach langer Zeit endlich mal wieder gmake ausgepackt und sitz gleich vor einem Problem:
    Makefile:

    # Projekt-Makefile
    #
    
    .PHONY: all include clean
    
    # Regeln
    all: include
    
    include clean: 
    	@echo $@
    

    Output:

    Makefile:10: clean:: Invalid argument
    Makefile:11: *** commands commence before first target. Stop.
    

    Version ist GNU make 3.81

    woran kanns liegen?



  • *kopf->tisch*
    include ist ein keyword, ich sollte das Target anders nennen -.-


Anmelden zum Antworten