src/Makefile
changeset 1 fd135abaac89
parent 0 06dd3b8d90ad
child 2 6ee2a130dc07
equal deleted inserted replaced
0:06dd3b8d90ad 1:fd135abaac89
    26 	@if [ -f ../lib/libProserGerman.a ]; \
    26 	@if [ -f ../lib/libProserGerman.a ]; \
    27 	then \
    27 	then \
    28 		$(CC) -c $(PCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
    28 		$(CC) -c $(PCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
    29 	elif [ -x $(MBROLA) ]; \
    29 	elif [ -x $(MBROLA) ]; \
    30 	then \
    30 	then \
       
    31 		if [ ! -f /etc/txt2pho ]; \
       
    32 		then \
       
    33 			if [ ! -f ~/.txt2phorc ]; \
       
    34 			then \
       
    35 				echo "Warning: ~/.txt2phorc or /etc/txt2pho is missing"; \
       
    36 			fi; \
       
    37 		fi; \
    31 		$(CC) -c $(MCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
    38 		$(CC) -c $(MCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
    32 	elif [ -x $(FESTIVAL) ]; \
    39 	elif [ -x $(FESTIVAL) ]; \
    33 	then \
    40 	then \
    34 		$(CC) -c $(FCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
    41 		$(CC) -c $(FCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
    35 	else \
    42 	else \
    36 		echo "Cannot find any TTS-System on your Machine"; \
    43 		echo "Cannot find any TTS-System on your Machine"; \
       
    44 		exit 1; \
    37 	fi;
    45 	fi;
    38 	@echo "CC $<"
    46 	@echo "CC $<"
    39 
    47 
    40 all: $(TARGET)
    48 all: $(TARGET)
    41 
    49