Vhex is a kernel which provide development and retro ingenierie platform for the Casio's OS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

51 lines
1.0 KiB

#!/usr/bin/make -f
## ---
## Project: Vhex - On-calc debugger
## Author: yann.magnin@epitech.eu
## ---
KERNEL := output/vhex.g1a
USER := output/shell.elf
TEST := output/test.elf
##---
## General rules
##---
all:
@ make --no-print-directory -C src/lib
@ make --no-print-directory -C src/kernel
@ make --no-print-directory -C src/user/shell
@ make --no-print-directory -C src/user/test
install: all
sudo p7 send --force --no-term $(KERNEL)
sudo p7 send --force --no-term --directory=VHEX $(USER)
sudo p7 send --force --directory=VHEX $(TEST)
##---
## Cleaning rules
##---
clean:
make clean --no-print-directory -C src/lib
make clean --no-print-directory -C src/kernel
make clean --no-print-directory -C src/user/shell
make clean --no-print-directory -C src/user/test
fclean: clean
make fclean --no-print-directory -C src/lib
make fclean --no-print-directory -C src/kernel
make fclean --no-print-directory -C src/user/shell
make fclean --no-print-directory -C src/user/test
rm -rf build
re: fclean all
.PHONY: re fclean clean all install