[fix] Makefile `clean` check and returns EXIT_SUCCESS (non blocking)

This commit is contained in:
xdrm-brackets 2017-05-04 11:21:29 +02:00
parent f860c8af0a
commit 4b23207f74
2 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ all: clean boot
# cleans the compiled files
clean:
rm lib/network/*.o;
rm lib/network/**/*.o;
rm lib/local/*.o;
rm boot;
find lib/network/*.o && rm lib/network/*.o || return 0;
find lib/network/**/*.o && rm lib/network/**/*.o || return 0;
find lib/local/*.o && rm lib/local/*.o || return 0;
find boot && rm boot || return 0;

View File

@ -19,9 +19,9 @@ boot: lib/network/tcp/client.o lib/network/udp/server.o plane.h plane.c
# Run full compilation
all: boot
all: clean boot
# cleans the compiled files
clean:
rm boot;
rm ./lib/network/**/*.o
find ./lib/network/**/*.o && rm ./lib/network/**/*.o || return 0;
find boot && rm boot || return 0;