[fix] Makefile `clean` check and returns EXIT_SUCCESS (non blocking)
This commit is contained in:
parent
f860c8af0a
commit
4b23207f74
|
@ -35,7 +35,7 @@ all: clean boot
|
||||||
|
|
||||||
# cleans the compiled files
|
# cleans the compiled files
|
||||||
clean:
|
clean:
|
||||||
rm lib/network/*.o;
|
find lib/network/*.o && rm lib/network/*.o || return 0;
|
||||||
rm lib/network/**/*.o;
|
find lib/network/**/*.o && rm lib/network/**/*.o || return 0;
|
||||||
rm lib/local/*.o;
|
find lib/local/*.o && rm lib/local/*.o || return 0;
|
||||||
rm boot;
|
find boot && rm boot || return 0;
|
||||||
|
|
|
@ -19,9 +19,9 @@ boot: lib/network/tcp/client.o lib/network/udp/server.o plane.h plane.c
|
||||||
|
|
||||||
|
|
||||||
# Run full compilation
|
# Run full compilation
|
||||||
all: boot
|
all: clean boot
|
||||||
|
|
||||||
# cleans the compiled files
|
# cleans the compiled files
|
||||||
clean:
|
clean:
|
||||||
rm boot;
|
find ./lib/network/**/*.o && rm ./lib/network/**/*.o || return 0;
|
||||||
rm ./lib/network/**/*.o
|
find boot && rm boot || return 0;
|
||||||
|
|
Loading…
Reference in New Issue