Zdravim. Snažim se k programu vytvořit makefile, ale po příkazu make vyskočí hláška:
cc -o -lpthread employee-without-mutex_out employee-without-mutex.c
cc: employee-without-mutex_out: No such file or directory
make: *** [employee-without-mutex] Error 1
Tady je muj makefile:
#CFLAGS= -Wall
GEDIT_OLD = *~
OBJEKTY = *.o
PROGRAM = employee-without-mutex_out
all: employee-without-mutex
employee-without-mutex: employee-without-mutex.c
cc $(CFLAGS) -o -lpthread employee-without-mutex_out employee-without-mutex.c
clean:
@echo Clean complete
rm -f $(OBJEKTY) $(PROGRAM) $(GEDIT_OLD)
Dík za rady