use instead of g++

svn path=/trunk/; revision=17447
This commit is contained in:
Steven Edwards 2005-08-19 21:56:14 +00:00
parent 4cdcc88ae0
commit 565a32245f

View file

@ -4,6 +4,7 @@ TARGET := ArchBlackmann.exe
all: $(TARGET) all: $(TARGET)
CPP=mingw32-g++
CFLAGS := -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS CFLAGS := -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS
LFLAGS := LFLAGS :=
LIBS := -lstdc++ -lws2_32 LIBS := -lstdc++ -lws2_32
@ -26,7 +27,7 @@ SRCS := ArchBlackmann.cpp \
OBJS := $(SRCS:.cpp=.o) OBJS := $(SRCS:.cpp=.o)
$(TARGET): $(OBJS) $(TARGET): $(OBJS)
g++ $(LFLAGS) -o $@ $(OBJS) $(LIBS) $(CPP) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
.cpp.o: $< .cpp.o: $<
g++ $(CFLAGS) -c $< -o $@ $(CPP) $(CFLAGS) -c $< -o $@