############################################################################### # Makefile for the serial_lcd C version for Codevision # Note: CodeVision only allows building from its IDE PROJECT := serial_lcd all: build build: distclean @mkdir Exe Linker List Obj @echo Must run the CV IDE to build .PHONY: clean clean: @rm -rf $(PROJECT).str1 $(PROJECT).sym[0-9] $(PROJECT).cof \ $(PROJECT).a $(PROJECT).o *~ Obj Linker # Clean up Codevision files in source directory @rm -f ../$(PROJECT).c@ ../$(PROJECT).c! ../$(PROJECT).h! \ ../$(PROJECT).i ../$(PROJECT).inc ../$(PROJECT).sym \ ../$(PROJECT).hdr $(PROJECT).txt *~ $(PROJECT).fct .PHONY: distclean distclean: clean @rm -rf $(PROJECT).map Exe List