Derek,
Sorry about your linking issues. I don't normally recommend compiling
and linking as part of the same command, though it usually works for
simple programs. Moving your linker flags after your .c file on the
compile/link command *may* fix things. If not, try replacing your entire
cibbaf rule with two rules--one for compiling and one for linking:
cibbaf.o: bem2dImpedanceBroadbandApproxFLAME.c
$(CC) $(CCFLAGS) -g -Wno-unused-function \
-c bem2dImpedanceBroadbandApproxFLAME.c \
-o bem2dImpedanceBroadbandApproxFLAME.o
cibbaf: cibbaf.o
$(CC) bem2dImpedanceBroadbandApproxFLAME.o \
$(LDFLAGSAMD) \
-o bem2d_i_bbaf.bin
Remember to use tabs for the first lines of each rule after the initial
line that specifies the target and prerequisites. (Tabs have special
meaning in make syntax.)
Field