Also, here is my makefile which I would think would be the problem but everything looks fine to me:
Code:
# Source, Executable, Includes, Library Defines
INCL = complex.h
SRC = complex.c complexfun.c
OBJ = $(SRC:.c=.o)
LIBS = -lm
EXE = complexfun
# Compiler
CC = gcc
# Compile and Assemble C Source Files into Object Files
.o:.c
$(CC) -c $(SRC)
# Link all Object Files with external Libraries into Binaries
$(EXE): $(OBJ)
$(CC) -o $(EXE) $(OBJ) $(LIB)
# Objects depend on these Libraries
$(OBJ): $(INCL)
# Create a dbx Capable Executable with flags turned on
debug:
$(CC) -Wall -g -DDEBUG -o $(EXE) $(LIBS) $(SRC)
# Clean Up Objects, Exectuables, Dumps out of source directory
clean:
rm -f $(OBJ) $(EXE) core
.SILENT :