Below is the file 'firm/master/Makefile' from this revision. You can also download the file.

# ### BOILERPLATE ###
# Laser Dot Clock Firmware
# Copyright (C) 2006 Peter Todd <pete@petertodd.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# ### BOILERPLATE ###
INCLUDE=-I. -I/usr/share/sdcc/include/pic16
PROCESSOR_FLAGS=-mpic16 -p18f242
CC=sdcc
AS=gpasm
CFLAGS=-V -S --debug
OBJS=main.o

all: laser_master.hex

burn: laser_master.hex
	picp /dev/ttyUSB0 18f242 -rd laser_master_eeprom.dat
	picp /dev/ttyUSB0 18f242 -ef
	picp /dev/ttyUSB0 18f242 -wp laser_master.hex
	picp /dev/ttyUSB0 18f242 -wd laser_master_eeprom.dat

main.asm: main.c ../shared/serial.c lcd.c i2c.c user.c laser.c eeprom.c
	. ./datestamp
	$(CC) $(INCLUDE) $(PROCESSOR_FLAGS) $(CFLAGS) main.c

main.o: main.asm
	$(AS) -c $*.asm

laser_master.hex: main.asm main.o
	/usr/bin/gplink -I"." -I"/usr/bin/../share/sdcc/lib/pic16" -I"/usr/share/sdcc/lib/pic16"   -o laser_master.hex main.o crt0i.o libc18f.lib pic18f242.lib libsdcc.lib
clean:
	$(RM) *.asm *.cod *.lst *.hex *.p *.d *.lnk *.o *~