windows 10 - *** No rule to make target, Makefile error in Win10 -


first of all, please, don't tell me duplicate. know, many questions i've looked through have been given far specific answers assist me, , quite frankly half of went on head. i'm new using makefiles , i'm baffled why mine isn't working.

i'm sure it's painfully simple please lend hand, if need more information i'll happy try find it, , bear me because i'm doing phone because university's department run apes. currently, makefile:

makefile assignment 1

finish : main.o      g++ -o finish main.o  main.o :         g++ -c -g -wall main.cpp  clean :            del main.o 

(sorry, it's not being cooperative, want make clear there necessary tab in front of commands)

i'm running on windows 10, using gnu compiler. can see looks same example makefile provided, aside filenames. know i'm in right directory, nothing misspelled, source file should exist cause i'm staring @ sitting next makefile. generic fixes remember seeing. main.o command works , compiles source file, other 2 give me error

make: *** no rule make target 'finish/clean'. stop.

i'm confused, annoyed, new makefiles , stack overflow , looking helping hand. advice appreciated.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -