RM=rm -f
# Set to the appropriate copy command
-COPY=cp
+# Some possible alternatives:
+# COPY=cp and COPYSEP=/
+# COPY=copy and COPYSEP=\
+#
+COPY=copy
+COPYSEP=\
# Cross compiling? Provide the target prefix (eg., i386-mingw32-)
# CROSS=i386-mingw32-
RCOUTPUTSWITCH=-o
RCINCSWITCH=--include-dir
RCDEFSWITCH=--define
-RCPREPROCESSOR=--preprocessor "$(CC) -c -E -xc-header -DRC_INVOKED"
+# Note that this can cause windres to fail (Win95/98 problem?)
+# but commenting out RCPREPROCESSOR then does the trick.
+#RCPREPROCESSOR=--preprocessor "$(CC) -c -E -xc-header -DRC_INVOKED"
RESFLAGS=$(RCPREPROCESSOR) $(RCINCSWITCH) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__
.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .c
-.$(SRCSUFF).$(OBJSUFF):
- $(CC) -c $(CPPFLAGS) -o $@ $*.$(SRCSUFF)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $*.c
+.$(SRCSUFF).$(OBJSUFF):
+ $(CC) -c $(CPPFLAGS) -o $@ $*.$(SRCSUFF)
+