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
|
|
|
|
|
2021-08-09 11:37:51 +00:00
|
|
|
all: vvmtool.exe
|
2021-08-09 08:15:14 +00:00
|
|
|
|
|
|
|
clean:
|
2021-08-09 11:37:51 +00:00
|
|
|
-$(RM) vvmtool.exe vvm.w32.o
|
2021-08-09 08:15:14 +00:00
|
|
|
|
2021-08-09 10:53:35 +00:00
|
|
|
%.w32.o : %.cpp
|
|
|
|
$(CXX) -o $@ -c $<
|
|
|
|
|
2021-08-09 11:37:51 +00:00
|
|
|
vvmtool.exe: vvm.w32.o
|
|
|
|
$(CXX) -o vvmtool.exe $^ -static -static-libgcc -static-libstdc++
|
2021-08-09 10:53:35 +00:00
|
|
|
|
|
|
|
vvm.w32.o: vvm.cpp vvm.h util.h
|