vvmtool/Makefile.mingw

19 lines
331 B
Makefile
Raw Permalink Normal View History

2021-08-09 01:15:14 -07:00
CXXFLAGS= -Os -fomit-frame-pointer
override CXXFLAGS+= -Wall -fsigned-char
CXX=i686-w64-mingw32-g++
default: all
all: vvmtool.exe
2021-08-09 01:15:14 -07:00
clean:
-$(RM) vvmtool.exe vvm.w32.o
2021-08-09 01:15:14 -07: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