Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | "make src/lex_config.o" |
| 2 | |
| 3 | results in: |
| 4 | |
| 5 | src/lex_config.l:35:25: fatal error: yacc_config.h: No such file or directory |
| 6 | |
| 7 | so add missing dependency through a missing rule. Also remove a rule which |
| 8 | doesn't appear to do anything. |
| 9 | |
| 10 | RP |
| 11 | 2016/1/31 |
| 12 | |
| 13 | Upstream-Status: Pending |
| 14 | |
| 15 | Index: pcmciautils-018/Makefile |
| 16 | =================================================================== |
| 17 | --- pcmciautils-018.orig/Makefile |
| 18 | +++ pcmciautils-018/Makefile |
| 19 | @@ -249,6 +249,9 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/st |
| 20 | yacc_config.o lex_config.o: %.o: %.c src/yacc_config.h |
| 21 | $(CC) -c -MD -O -pipe $(CPPFLAGS) $< |
| 22 | |
| 23 | +src/lex_config.o : src/lex_config.c src/yacc_config.h |
| 24 | + $(QUIET) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< |
| 25 | + |
| 26 | debugtools: ccdv $(CBDUMP) $(CISDUMP) |
| 27 | |
| 28 | $(CBDUMP): $(LIBC) debug/cbdump.o |
| 29 | Index: pcmciautils-018/Makefile |
| 30 | =================================================================== |
| 31 | --- pcmciautils-018.orig/Makefile |
| 32 | +++ pcmciautils-018/Makefile |
| 33 | @@ -246,8 +246,8 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/st |
| 34 | $(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) src/startup.o src/yacc_config.o src/lex_config.o $(LIB_OBJS) $(ARCH_LIB_OBJS) |
| 35 | $(QUIET) $(STRIPCMD) $@ |
| 36 | |
| 37 | -yacc_config.o lex_config.o: %.o: %.c |
| 38 | - $(CC) -c -MD -O -pipe $(CPPFLAGS) $< |
| 39 | +src/lex_config.o : src/lex_config.c src/yacc_config.h ccdv |
| 40 | + $(QUIET) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< |
| 41 | |
| 42 | debugtools: ccdv $(CBDUMP) $(CISDUMP) |
| 43 | |