- Makefile ifeq problem
- $(OBJS): $(OBJDIR)/%.o : ../%.c
- @mkdir -p $(dir $@)
- ifeq(mcc.exe,$(CC))
- o_file:=$(shell echo $@ | sed -e 's//cygdrive///' | sed -e 's/([a-zA-Z])/1:/')
- $(CC) $(CFLAGS) $< -o $(o_file)
- else
- $(CC) $(CFLAGS) $< -o $@
- endif
- "/bin/sh: -c: line 0: syntax error near unexpected token `mcc.exe,mcc.exe'
- /bin/sh: -c: line 0: `ifeq(mcc.exe,mcc.exe)'"