Posted on 2003-02-25
huh...I have got a complex code to study and use it and i am finding it very difficult to understand someone elses code. Its better to write my own code i think...anyway..
There are 8 subprograms in the directory namely,
flow_modeller.c, menues.c, in_and_out.c, opti.c, data_manip.c, splines.c, plotten.c and calc.c.
There is a make file which reads aas...
CC = gcc
DEBUG = -g
OPTIMZE = -O3
CFLAGS = $(OPTIMZE)
MAKE = makeflow
EXE = flow_modeller
LIB = -lm
END = /usr/lib/end.o
OBJ = flow_modeller.o menues.o in_and_out.o opti.o data_manip.0 splines.o plotten.o calc.o
$(EXE): $(OBJ) #link.
$(CC) -o $(EXE) $(OBJ) $(LIB)
$(OBJ): $(MAKE) $(DEF)
When i make the file now!
it gives me an error
./makeflow: CC:command not found
./makeflow: DEBUG: command not found
and same for the rest of the commands aswell.
Can anyone please tell me where the problem is??
There is a tags file in the directory aswell....