Compare commits
2 Commits
5541aeb799
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4dbe11ccf9 | |||
| 6fbbdedebe |
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
||||
# Compiler and flags
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -g
|
||||
LIBS = -lncurses
|
||||
LIBS = -lncurses -lm
|
||||
|
||||
# Source files
|
||||
NETPONG_SRC = main.c $(wildcard src/*.c) $(wildcard src/network/*.c)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "network/networking.h"
|
||||
|
||||
#define NUM_OF_BALLS 2
|
||||
#define NUM_OF_BALLS 6
|
||||
|
||||
|
||||
// Setup game board
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <unistd.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
static Server *g_server = NULL;
|
||||
|
||||
Reference in New Issue
Block a user