I am using following makefile below:
CC=g++
all: socket.exe
socket.exe: socket.o
g++ socket.o -o socket.exe
socket.o: socket.cpp
g++ -c socket.cpp
When I run make it show error:
socket.cpp: sys/socket.h: no such file or directory.
How to fix it? I am working on Windows.