blob: 4c5eba7951eea3fcb4f6b56c8385ded918c27b6e [file] [log] [blame]
"make src/lex_config.o"
results in:
src/lex_config.l:35:25: fatal error: yacc_config.h: No such file or directory
so add missing dependency through a missing rule. Also remove a rule which
doesn't appear to do anything.
RP
2016/1/31
Upstream-Status: Pending
Index: pcmciautils-018/Makefile
===================================================================
--- pcmciautils-018.orig/Makefile
+++ pcmciautils-018/Makefile
@@ -246,8 +246,8 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/st
$(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) src/startup.o src/yacc_config.o src/lex_config.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(QUIET) $(STRIPCMD) $@
-yacc_config.o lex_config.o: %.o: %.c
- $(CC) -c -MD -O -pipe $(CPPFLAGS) $<
+src/lex_config.o : src/lex_config.c src/yacc_config.h ccdv
+ $(QUIET) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
debugtools: ccdv $(CBDUMP) $(CISDUMP)