Mijn eerste commit, omdat ik het waard ben...
This commit is contained in:
parent
689a3dca65
commit
30b6230c50
25 changed files with 3133 additions and 1 deletions
18
Server/Makefile
Normal file
18
Server/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
SRC = main.cpp sockets/sw_base.cpp sockets/sw_inet.cpp sockets/sw_unix.cpp
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
OUT = Socket
|
||||
INCLUDES =
|
||||
CCFLAGS = -Wall -Wextra -funsigned-char -g
|
||||
CC = $(CROSS)g++
|
||||
LD = $(CROSS)ld
|
||||
AR = $(CROSS)ar
|
||||
LIBS =
|
||||
.SUFFIXES: .cpp
|
||||
.PHONY: clean default
|
||||
default: $(OUT)
|
||||
.cpp.o:
|
||||
$(CC) $(INCLUDES) $(CCFLAGS) $(LIBS) -c $< -o $@
|
||||
$(OUT): $(OBJ)
|
||||
$(CC) $(LIBS) -o $(OUT) $(OBJ)
|
||||
clean:
|
||||
rm -rf $(OBJ) $(OUT) Makefile.bak *~
|
Loading…
Add table
Add a link
Reference in a new issue