Compare commits
No commits in common. "61a30b87135bc01fb1910bad020448b385a6699d" and "82698525c9bcf08819d638f53a8b7f05eaf0a608" have entirely different histories.
61a30b8713
...
82698525c9
27
Makefile
27
Makefile
@ -1,27 +0,0 @@
|
|||||||
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)
|
|
||||||
gcc -ansi -std=c99 -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:
|
|
||||||
#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)
|
|
||||||
gcc -ansi -std=c99 -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)/*
|
|
2
bin/Debug/.gitignore
vendored
2
bin/Debug/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
2
bin/Release/.gitignore
vendored
2
bin/Release/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
2
build/Debug/.gitignore
vendored
2
build/Debug/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
2
build/Release/.gitignore
vendored
2
build/Release/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* src/Main.c
|
* src/main.c
|
||||||
*
|
*
|
||||||
* The main entrypoint for the program.
|
* The main entrypoint for the program.
|
||||||
*/
|
*/
|
Loading…
x
Reference in New Issue
Block a user