[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
|
||||
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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue