Skip to content
Snippets Groups Projects
Commit 2d186efa authored by Ori Almog's avatar Ori Almog
Browse files

Modified makefiles

parent 7c4e3535
No related branches found
No related tags found
No related merge requests found
all: *.cpp
source: *.cpp
@echo Compiling sources...
@cp ./libtcod/*.so .
@g++ -g *.cpp -o RogueReborn.exe -I./libtcod/include -L. -ltcod -ltcodxx -Wl,-rpath=. -Wall -std=c++11
default: all test
tests:
@make -C test
@make source -C test
clean:
@rm -f RogueReborn.exe *.so
@rm -f scores.txt
@make clean -C test
default: source
\ No newline at end of file
......@@ -2,11 +2,11 @@
#include <vector>
#include <iostream>
#include "include/armor.h"
#include "../include/armor.h"
int main(){
sd::cout << "Hello" << std::endl;
std::cout << "Hello" << std::endl;
}
\ No newline at end of file
all: *.cpp
@echo "I'm compiling tests"
source: *.cpp
@echo Compiling tests...
@g++ -g *.cpp -o TestRogueReborn.exe -L. -Wl,-rpath=. -Wall -std=c++11
default: all
\ No newline at end of file
clean:
@rm -f TestRogueReborn.exe
default: source
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment