vvmtool/Makefile

23 lines
373 B
Makefile
Raw Normal View History

2021-08-09 08:15:14 +00:00
CXXFLAGS= -Os -fomit-frame-pointer
override CXXFLAGS+= -Wall -fsigned-char
VVM_OBJS= \
vvm.o
UPGRADE_OBJS= \
upgrade.o
default: all
all: vvm #upgrade
clean:
-$(RM) $(VVM_OBJS) $(UPGRADE_OBJS) vvm upgrade
vvm: $(VVM_OBJS)
$(CXX) $(CXXFLAGS) -o vvm $(VVM_OBJS)
upgrade: $(UPGRADE_OBJS)
$(CXX) $(CXXFLAGS) -o upgrade $(UPGRADE_OBJS)
%.o : %.cpp
$(CXX) -o $@ -c $<