Initial commit
This commit is contained in:
13
server/Makefile
Normal file
13
server/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
CC=g++
|
||||
CFLAGS+=-Werror -Wall
|
||||
LDLIBS=-lcurl -lpcre -lws2_32
|
||||
|
||||
CFILES = \
|
||||
src/main.cpp
|
||||
OFILES = $(CFILES:.cpp=.o)
|
||||
|
||||
all: $(OFILES)
|
||||
$(CC) $(CFLAGS) $(OFILES) $(LDLIBS)
|
||||
|
||||
clean:
|
||||
$(RM) $(OFILES)
|
||||
6
server/src/main.cpp
Normal file
6
server/src/main.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello, World!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user