Files
peterj.nikhef.nl 58186dc995 Reverse merged revision(s) 1196-1195 from CLBv2/trunk/sw/embedded/WRPC-v2.1:
re-commit (effectively revert sw/embedded/WRPC-v2.1 back to version 1194)
2015-02-04 13:32:29 +00:00

33 lines
572 B
Makefile

# Hosted environment: build the final exectuable
# All files are under D: I'm lazy
D := proto-standard
LIBSTD := $D/libstd.a
LIBS += -L$D -lstd
OBJ-libstd := $D/fsm-table.o \
$D/state-initializing.o \
$D/state-faulty.o \
$D/state-disabled.o \
$D/state-listening.o \
$D/state-pre-master.o \
$D/state-master.o \
$D/state-passive.o \
$D/state-uncalibrated.o \
$D/state-slave.o \
$D/common-fun.o \
$D/bmc.o \
$D/msg.o \
$D/arith.o \
$D/servo.o \
$D/hooks.o \
$D/timeout.o \
$D/open-close.o
$(TARGET).o: $(LIBSTD)
$(LIBSTD): $(OBJ-libstd)
$(AR) r $@ $^