diff --git a/Makefile b/Makefile index be95045..a3d94f7 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,5 @@ files += src/*.c files += include/*.h main: - @echo Removing versions.json - rm versions.json - @echo Compiling... - cc $(files) -ljson-c -lcurl -lm -o out/why2 \ No newline at end of file + cc $(files) -ljson-c -lcurl -lm -o out/why2 diff --git a/build.sh b/build.sh index 691c4ee..87959ab 100644 --- a/build.sh +++ b/build.sh @@ -1,9 +1,12 @@ #!/bin/sh +# Remove versions.json +rm -f versions.json + # Build project make # Check for 'debug' flag if [ "$1" == "debug" ]; then ./out/why2 -fi \ No newline at end of file +fi