diff options
| author | Aiden Gall <aiden@aidengall.xyz> | 2024-05-14 23:50:15 +0100 | 
|---|---|---|
| committer | Aiden Gall <aiden@aidengall.xyz> | 2024-05-14 23:50:15 +0100 | 
| commit | 882626965d7778cecd7ec0329e7f4a19f97d8218 (patch) | |
| tree | 549e19058a8cda5eba86f2760684dcb8443b4633 /Makefile | |
| parent | 93585dc4da3be099e1ffe7e757aa7caff2e1f013 (diff) | |
test file size of bootsector/kernel image
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -20,7 +20,7 @@ kernel/main.o: kernel/util.h  providence.img: ${OBJ}  	${CC} ${LDFLAGS} $^ ${LDLIBS} -o $@ -	@du -b $@ +	test "$$(wc -c $@ | cut -f1 -d' ')" -le 29696 || { rm -f $@ ; false ; }  	truncate -s 29696 $@  %.o: %.c | 
