[project @ 2001-04-24 10:06:18 by simonmar]
[ghc-hetmet.git] / mk / target.mk
index e3d6c80..59223f6 100644 (file)
@@ -311,10 +311,6 @@ endif
 #----------------------------------------
 #      C programs
 
-ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-CC_OPTS += -mno-cygwin -mwin32
-endif
-
 ifneq "$(C_PROG)" ""
 all :: $(C_PROG)
 
@@ -705,6 +701,7 @@ $(LINK) : $(LINK_TARGET)
 # install links to script drivers.
 #
 install ::
+       @$(INSTALL_DIR) $(bindir)
        @if ( $(PERL) -e '$$fn="$(bindir)/$(LINK)"; exit ((! -f $$fn || -l $$fn) ? 0 : 1);' ); then \
           echo "Creating a symbol link from $(LINK_TARGET) to $(LINK) in $(bindir)"; \
           $(RM) $(bindir)/$(LINK); \