CC=gcc program=server OBJ=obsluha_serveru.o statistiky.o prijmani.o obsluha_hry.o otazky.o hra.o hrac.o server.o SRC=obsluha_serveru.c statistiky.c prijmani.c obsluha_hry.c otazky.c hra.c hrac.c server.c HEAD=obsluha_serveru.h statistiky.h prijmani.h obsluha_hry.h otazky.h hrac.h hra.h THREAD = -lpthread all: clean ${program} #run ${program}: ${OBJ} ${CC} ${OBJ} -o ${program} ${THREAD} ${OBJ}: ${HEAD} clean: rm -f server rm -f server.o rm -f hra.o rm -f hrac.o rm -f otazky.o rm -f prijmani.o rm -f obsluha_hry.o rm -f statistiky.o rm -f obsluha_serveru.o #run: ${program} # ./${program} 10000