--- PDCurses-3.4/win32/mingwin32.mak.orig 2008-09-25 15:30:14.000000000 +0100 +++ PDCurses-3.4/win32/mingwin32.mak 2008-09-25 15:43:50.000000000 +0100 @@ -30,8 +30,8 @@ CFLAGS += -I$(PDCURSES_SRCDIR) -BASEDEF = $(PDCURSES_SRCDIR)\exp-base.def -WIDEDEF = $(PDCURSES_SRCDIR)\exp-wide.def +BASEDEF = $(PDCURSES_SRCDIR)/exp-base.def +WIDEDEF = $(PDCURSES_SRCDIR)/exp-wide.def DEFDEPS = $(BASEDEF) @@ -50,7 +50,7 @@ ifeq ($(DLL),Y) CFLAGS += -DPDC_DLL_BUILD - LIBEXE = gcc $(DEFFILE) + LIBEXE = i686-pc-mingw32-gcc $(DEFFILE) LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o LIBCURSES = pdcurses.dll LIBDEPS = $(LIBOBJS) $(PDCOBJS) $(DEFFILE) @@ -70,24 +70,24 @@ libs: $(LIBCURSES) clean: - -del *.o - -del *.exe - -del $(CLEAN) + -rm *.o + -rm *.exe + -rm $(CLEAN) demos: $(DEMOS) - strip *.exe + i686-pc-mingw32-strip *.exe $(DEFFILE): $(DEFDEPS) echo LIBRARY pdcurses > $@ echo EXPORTS >> $@ - type $(BASEDEF) >> $@ + cat $(BASEDEF) >> $@ ifeq ($(WIDE),Y) - type $(WIDEDEF) >> $@ + cat $(WIDEDEF) >> $@ endif $(LIBCURSES) : $(LIBDEPS) $(LIBEXE) $(LIBFLAGS) $@ $? - -copy pdcurses.a panel.a + -cp pdcurses.a panel.a $(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS) $(PDCOBJS) : $(PDCURSES_WIN_H)