summaryrefslogtreecommitdiff
path: root/trunk/darwin/firmware/PIC/devices/iobox/Makefile
blob: 3e7a7a13677b5881555bacb83bc148e0963a2602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TARGET=iobox

SOURCES=iobox1.c iobox2.c

include ../../picmake.inc

CFLAGS += -DPORT=50

$(BUILDDIR)/$(TARGET).hex:	$(OBJS) $(PICDEPS)
	cd $(BUILDDIR) && gplink -m -c -o $(TARGET).hex $(SOURCES:.c=.o) $(LDFLAGS)
	perl $(BASEDIR)/tools/checkmap $(BUILDDIR)/$(TARGET).map

include ../../make.inc
include $(SOURCES:.c=.dep)