CC = gcc SRC = afjjp1-1.c INCLUDE = -I/usr/include/gc LDFLAGS = -s LIBS = -lgc CFLAGS = -Wall -O2 -pipe $(INCLUDE) all: $(CC) $(CFLAGS) $(LDFLAGS) -o afjjp1-1 $(SRC) $(LIBS) test: cp stanja.txt.backup stanja.txt cp oznake.txt.backup oznake.txt ./afjjp1-1 ulaz.txt less izlaz.txt