summaryrefslogtreecommitdiff
path: root/branches/historical-pic-firmware/devices/stepmotor/Makefile
blob: 36834907c14a8ffbd6a53e41a6599da401c9d3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TARGET=stepmotor

SOURCES=stepmotor1.c stepmotor2.c

include ../../picmake.inc

CFLAGS += -DPORT=2

$(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)