diff --git a/platform/win32/Makefile.win32 b/platform/win32/Makefile.win32
index 7a581b252..616a8c35d 100644
--- a/platform/win32/Makefile.win32
+++ b/platform/win32/Makefile.win32
@@ -30,7 +30,7 @@
#
# Author: Oliver Schmidt
#
-# $Id: Makefile.win32,v 1.17 2008/11/10 22:52:43 oliverschmidt Exp $
+# $Id: Makefile.win32,v 1.18 2010/01/28 12:46:16 oliverschmidt Exp $
#
TARGET_LIBFILES = /lib/w32api/libws2_32.a /lib/w32api/libiphlpapi.a
@@ -65,11 +65,7 @@ endef
${foreach PRG,$(PRGS),${eval ${call prg_template,$(PRG),${call appname,$(PRG)}}}}
${foreach DSC,$(DSCS),${eval ${call dsc_template,$(DSC),${call appname,$(DSC)}}}}
-### Generic module-compile and -link rules, no prerequisites here
-### (The *.d files contain the full module-compile prerequisites)
-${sort ${foreach PRG,$(PRGS), ${addprefix $(OBJECTDIR)/, \
- $(${call appname,$(PRG)_src:.c=.o})}}}:
- $(CC) $(CFLAGS) -D_USRDLL -c $< -o $@
+### Generic module-link rules, no prerequisites here
$(PRGS:=.prg):
$(LD) -shared $^ contiki-main.$(TARGET).a -o $@
$(DSCS:=.dsc):