I wanted to make my very first sdl2 game with sdl2 and sdl2_image, I used makefile but when i compiled a test program it made an error.
heres the code:
all: -Iinclude
-Iinclude/SDL2
-Llib -o main src/*.cpp
-lmingw32
-lSDL2main
-lSDL2
-lSDL2_image
I have tried checking the directory of where i was compiling and the name of the file. But nothing worked. All the other posts I could find could not fix this problem
New contributor
bonie real is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.