summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-09-21 03:25:19 +0200
committerGuenter Knauf <lists@gknw.net>2011-09-21 03:25:19 +0200
commite4172d934da23083eb43660bf3300d77bf157bac (patch)
treed9319a28cfd99bee64c75babbff245872803b2c1 /src
parent977825a68c59b09d15609df6ffbb7465a4ae6a73 (diff)
downloadcurl-e4172d934da23083eb43660bf3300d77bf157bac.tar.gz
Changed suffix rules to pattern rules.
Suffix rules cannot have any prerequisites of their own.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.m326
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index f0085a0d8..0822e3a8e 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -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: