Hi I got this error when trying to compile a GDI window I was making, In the makefile.
Error:Code:# Project: Project1 # Makefile created by Dev-C++ 4.9.9.2 CPP = g++.exe CC = gcc.exe WINDRES = windres.exe RES = gdi_private.res OBJ = "D:/Documents\ and\ Settings/Stephen/Desktop/gdi/main.o" $(RES) LINKOBJ = "D:/Documents and Settings/Stephen/Desktop/gdi/main.o" $(RES) LIBS = -L"C:/Dev-Cpp/lib" -mwindows -lgdi32 INCS = -I"C:/Dev-Cpp/include" CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" BIN = gdi.exe CXXFLAGS = $(CXXINCS) CFLAGS = $(INCS) RM = rm -f .PHONY: all all-before all-after clean clean-custom all: all-before gdi.exe all-after clean: clean-custom ${RM} $(OBJ) $(BIN) $(BIN): $(OBJ) //<<<---This is the line of code that refers to the error $(CPP) $(LINKOBJ) -o "gdi.exe" $(LIBS) "D:/Documents\ and\ Settings/Stephen/Desktop/gdi/main.o": D:/Documents\ and\ Settings/Stephen/Desktop/gdi/main.cpp $(CPP) -c "D:/Documents and Settings/Stephen/Desktop/gdi/main.cpp" -o "D:/Documents and Settings/Stephen/Desktop/gdi/main.o" $(CXXFLAGS) gdi_private.res: gdi_private.rc D:/Documents\ and\ Settings/Stephen/Desktop/gdi/GDI01.RC $(WINDRES) -i gdi_private.rc --input-format=rc -o gdi_private.res -O coff
26 C:\Dev-Cpp\Makefile.win [Build Error] *** multiple target patterns. Stop.
Ive tryed 2 other forums but nobody seems to know what is wrong.
Any ideas =/
--Stephen