1
Fork 0

Updated workflow. Much nicer now!

This commit is contained in:
Jake Howard 2015-10-11 18:41:43 +01:00
parent e6b8cf66e9
commit 410f09ef6b
3 changed files with 5 additions and 6 deletions

View file

@ -1,17 +1,16 @@
BUILD_ARGS = -Wall -Werror -Isrc/libs/
BUILD_ARGS = -Wall -Werror -Isrc/
build: libraries
build:
g++ src/main.cpp -Ldist/* $(BUILD_ARGS) -o enigma
libraries:
mkdir -p dist/
for dir in src/libs/*; do\
echo "cd into" $$dir; \
for dir in src/*/; do\
cd $$dir; \
g++ -c *.cpp ; \
mv *.o ../../../dist/ ; \
mv *.o ../../dist/ ; \
done

View file

@ -2,6 +2,6 @@
#include "strings/strings.cpp"
int main() {
std::cout << getString();
std::cout << getString() << std::endl;
return 0;
}