chiark
/
gitweb
/
~ijackson
/
trains.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
reorganise test stuff; copybits now flashes per-pic led too
[trains.git]
/
pic.make
1
2
all: $(TARGETS)
3
4
o=>$@.new && mv -f $@.new $@
5
6
LINK= gplink -o $@ $^
7
8
%.hex: %.o
9
$(LINK)
10
11
%.o: %.asm
12
gpasm -p 18f458 -c $<
13
14
.PRECIOUS: %.o
15
16
pic-clean:
17
-rm -f -- *~ *.new
18
-rm -f *.hex *.cod *.lst *.o