I have a project in C and I want to compile it under Unix system through a
Makefile. I am learning Makefile and I think I miss something. Unix os run
on AIX machine, and I use the xlc compiler and the ld linker.
my Makefile is as follow (there is something wrong in the linker
command...), the "main" routine is in DOSMAIN.c file, all files include the
same .h file which is then looking for some basic libraries (stdio.h,
math.h, string.h, ...)
CC = xlc
LD = ld
CFLAGS = -c
OBJS = DOSMAIN.o AERODAT.o ... ...