Am 07.10.2017 14:55 schrieb Cág:
Hi, I feel a bit stupid right now. The output is: [...] (.text+0x5a): undefined reference to `main' collect2: ld returned 1 exit status *** Error 1 in /home/caoc/code/suckless/sxiv (Makefile:30 'sxiv': cc -L/usr/X11R6/lib -L/usr/local/lib -o sxiv -lImlib2 -lX11 -lXft -lgif
Line 30 of your Makefile still contains the GNU make specific automatic
variable '$^'. You have to substitute it with '$(OBJ)' to make the LINK
cmd work.
Bert
