Fix errors on linux
This commit is contained in:
parent
603ab98a14
commit
3c6bd4dfc3
@ -6,14 +6,14 @@ HEADERS = $(wildcard *.h)
|
||||
all: compile_flags.txt server
|
||||
|
||||
server: main.o linux.o
|
||||
gcc $^ -o $@
|
||||
gcc $^ -o $@
|
||||
|
||||
%.o: %.c $(HEADERS)
|
||||
gcc $< -c -o $@ $(CFLAGS)
|
||||
gcc $< -c -o $@ $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -rf *.o server client
|
||||
rm -rf *.o server client
|
||||
|
||||
compile_flags.txt:
|
||||
echo -xc $(CFLAGS) | sed 's/\s\+/\n/g' > compile_flags.txt
|
||||
echo -xc $(CFLAGS) | sed 's/\s\+/\n/g' > compile_flags.txt
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "native.h"
|
||||
|
||||
void init_socket(void)
|
||||
void init_sockets(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user