velorek1 / c-edit

A text editor in C with drop down menus from scratch. No ncurses.
MIT License
250 stars 18 forks source link

Change $(.TARGET) to $@ to make gmake compatible #6

Open mojadita opened 5 years ago

mojadita commented 5 years ago

Signed-off-by: Luis Colorado luiscoloradourcola@gmail.com

mojadita commented 5 years ago

GNU Make doesn't accept $(.TARGET), so $@ must be used instead.

mojadita commented 5 years ago

$(TARGET) is not accepted by berkeley make, and $(.TARGET) (with dot) is not accepted by GNU make, so the best thing is to use, as suggested, the legacy $@ instead, as both accept this.