Compare commits
7 Commits
example-ze
...
master
Author | SHA1 | Date | |
---|---|---|---|
435d46c610 | |||
61a30b8713 | |||
7f2a84a496 | |||
82698525c9 | |||
be0799c76f | |||
e302a8355a | |||
0ad09c0e8f |
8
.gitattributes
vendored
Normal file
8
.gitattributes
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
* text=auto
|
||||||
|
|
||||||
|
*.c diff=c
|
||||||
|
*.cpp diff=cpp
|
||||||
|
*.h diff=h
|
||||||
|
*.hpp diff=hpp
|
||||||
|
|
||||||
|
CHANGELOG.md export-ignore
|
60
.gitignore
vendored
Normal file
60
.gitignore
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
### Project Specific
|
||||||
|
# Files
|
||||||
|
*.d
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.ko
|
||||||
|
*.obj
|
||||||
|
*.elf
|
||||||
|
*.ilk
|
||||||
|
*.map
|
||||||
|
*.exp
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
*.dll
|
||||||
|
*.mod
|
||||||
|
*.smod
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
*.i*86
|
||||||
|
*.x86_64
|
||||||
|
*.hex
|
||||||
|
*.su
|
||||||
|
*.idb
|
||||||
|
*.pdb
|
||||||
|
*.mod*
|
||||||
|
*.cmd
|
||||||
|
modules.order
|
||||||
|
Module.symvers
|
||||||
|
Mkfile.old
|
||||||
|
dkms.conf
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
.dSYM/
|
||||||
|
.tmp_versions/
|
||||||
|
|
||||||
|
### Editor Specific
|
||||||
|
# Files
|
||||||
|
/*.sublime-project
|
||||||
|
/*.sublime-workspace
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
/.idea
|
||||||
|
/.vscode
|
||||||
|
|
||||||
|
### System Specific
|
||||||
|
# Files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
__MACOSX
|
16
CHANGELOG.md
Normal file
16
CHANGELOG.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Changelog
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
### Added
|
||||||
|
-
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
-
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
-
|
||||||
|
|
32
Makefile
Normal file
32
Makefile
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
C_STANDARD=c17
|
||||||
|
DEBUG_DIR=build/Debug
|
||||||
|
BIN_DEBUG_DIR=bin/Debug
|
||||||
|
RELEASE_DIR=build/Release
|
||||||
|
BIN_RELEASE_DIR=bin/Release
|
||||||
|
#INCLUDE_PATH="-I/path/to/arbitrary/src"
|
||||||
|
#LIB_PATH="-L/path/to/library/include"
|
||||||
|
#LINKER_FLAGS=-lGL
|
||||||
|
|
||||||
|
## debug:
|
||||||
|
## g++ -std=c++14 -Wall -fPIC -pg -g $(INCLUDE_PATH) $(LIB_PATH) -c src/Main.cpp -o $(DEBUG_DIR)/Main.o
|
||||||
|
## g++ -o $(BIN_DEBUG_DIR)/ratatoskr-messenger-server $(DEBUG_DIR)/Main.o $(LINKER_FLAGS)
|
||||||
|
|
||||||
|
## release:
|
||||||
|
## g++ -std=c++14 -Wall -fPIC -O2 $(INCLUDE_PATH) $(LIB_PATH) -c src/Main.cpp -o $(RELEASE_DIR)/Main.o
|
||||||
|
## g++ -o $(BIN_RELEASE_DIR)/ratatoskr-messenger-server $(RELEASE_DIR)/Main.o -s $(LINKER_FLAGS)
|
||||||
|
|
||||||
|
debug:
|
||||||
|
gcc -ansi -std=$(C_STANDARD) -Wall -fPIC -pg -c src/Main.c -o $(DEBUG_DIR)/Main.o
|
||||||
|
gcc -o $(BIN_DEBUG_DIR)/ratatoskr-messenger-server $(DEBUG_DIR)/Main.o
|
||||||
|
|
||||||
|
release:
|
||||||
|
gcc -ansi -std=$(C_STANDARD) -Wall -fPIC -O2 -c src/Main.c -o $(RELEASE_DIR)/Main.o
|
||||||
|
gcc -o $(BIN_RELEASE_DIR)/ratatoskr-messenger-server $(RELEASE_DIR)/Main.o
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(DEBUG_DIR)/*
|
||||||
|
rm -rf $(BIN_DEBUG_DIR)/*
|
||||||
|
rm -rf $(RELEASE_DIR)/*
|
||||||
|
rm -rf $(BIN_RELEASE_DIR)/*
|
@ -1,3 +1,7 @@
|
|||||||
# cpp-messenger-server
|
# Ratatoskr - C Messenger Server
|
||||||
|
|
||||||
An exercise in C++ to make a messenger server akin to MSN/Yahoo/AOL Messenger.
|
An exercise in C/C++ to make a messenger server akin to MSN/Yahoo/AOL Messenger.
|
||||||
|
|
||||||
|
### Ratatoskr
|
||||||
|
|
||||||
|
A simple messenger in the form of a squirrel that travels between the eagle atop Yggdrassil and the dragon Nidhoggr at the roots of Yggdrassil.
|
||||||
|
2
bin/Debug/.gitignore
vendored
Normal file
2
bin/Debug/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
2
bin/Release/.gitignore
vendored
Normal file
2
bin/Release/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
2
build/Debug/.gitignore
vendored
Normal file
2
build/Debug/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
2
build/Release/.gitignore
vendored
Normal file
2
build/Release/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
10
src/Main.c
Normal file
10
src/Main.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* src/Main.c
|
||||||
|
*
|
||||||
|
* The main entrypoint for the program.
|
||||||
|
*/
|
||||||
|
|
||||||
|
int main (int argc, char **argv) {
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user