summaryrefslogtreecommitdiff
path: root/src/emc/kinematics/Submakefile
blob: ccd40aa173b53e6b4536779fa8f3e4071bf2e2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
INCLUDES += emc/kinematics

GENSERKINSSRCS := \
	emc/kinematics/genserkins.c
USERSRCS += $(GENSERKINSSRCS)

../bin/genserkins: $(call TOOBJS, $(GENSERKINSSRCS)) ../lib/liblinuxcnchal.so ../lib/libposemath.so
	$(ECHO) Linking $(notdir $@)
	$(Q)$(CC) $(LDFLAGS) -o $@ $^
TARGETS += ../bin/genserkins

../include/%.h: ./emc/kinematics/%.h
	cp $^ $@
../include/%.hh: ./emc/kinematics/%.hh
	cp $^ $@