vvmtool/Makefile.mingw

19 lines
331 B
Text
Raw Normal View History

2021-08-09 08:15:14 +00:00
CXXFLAGS= -Os -fomit-frame-pointer
override CXXFLAGS+= -Wall -fsigned-char
CXX=i686-w64-mingw32-g++
default: all
all: vvmtool.exe
2021-08-09 08:15:14 +00:00
clean:
-$(RM) vvmtool.exe vvm.w32.o
2021-08-09 08:15:14 +00:00
%.w32.o : %.cpp
$(CXX) -o $@ -c $<
vvmtool.exe: vvm.w32.o
$(CXX) -o vvmtool.exe $^ -static -static-libgcc -static-libstdc++
vvm.w32.o: vvm.cpp vvm.h util.h