bximage is a C program, not a C++ program.

Update Makefile.in to compile it that way.

This fixes a VisualAge problem which prevented bximage from compiling.


I still use the C++ linker for bximage since I don't think it
makes any difference.  If it does, that should be changed also.
This commit is contained in:
Gregory Alexander 2002-10-28 19:19:46 +00:00
parent 0e390b33f6
commit 0987a6b2d8

View File

@ -230,7 +230,7 @@ bximage@EXE@: misc/bximage.o
# compile with console CXXFLAGS, not gui CXXFLAGS
misc/bximage.o: misc/bximage.c
$(CXX) @DASH@c $(BX_INCDIRS) $(CXXFLAGS_CONSOLE) @CXXFP@$< @OFP@$@
$(CC) @DASH@c $(BX_INCDIRS) $(CFLAGS_CONSOLE) @CXXFP@$< @OFP@$@
niclist@EXE@: misc/niclist.o
@LINK@ misc/niclist.o
@ -240,7 +240,7 @@ $(BX_OBJS): $(BX_INCLUDES)
bxversion.h:
$(RM) -f bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' > bxversion.h
echo '// $$Id: Makefile.in,v 1.97 2002-10-28 08:42:28 bdenney Exp $$' >> bxversion.h
echo '// $$Id: Makefile.in,v 1.98 2002-10-28 19:19:46 yakovlev Exp $$' >> bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' >> bxversion.h
echo '// This file is generated by "make bxversion.h"' >> bxversion.h
echo "#define VER_STRING \"$(VER_STRING)\"" >> bxversion.h