Changed suffix rules to pattern rules.

Suffix rules cannot have any prerequisites of their own.
This commit is contained in:
Guenter Knauf 2011-09-21 03:25:19 +02:00
parent 977825a68c
commit e4172d934d
3 changed files with 11 additions and 13 deletions

View file

@ -206,8 +206,6 @@ endif
RESOURCE = curl.res
.SUFFIXES: .rc .res
all: $(curl_PROGRAMS)
@ -224,10 +222,10 @@ hugehelp.c:
@echo Creating $@
@$(CP) hugehelp.c.cvs $@
.c.o:
%.o: %.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
.rc.res:
%.res: %.rc
$(RC) $(RCFLAGS) $< -o $@
clean: