2021-08-09 08:15:14 +00:00
|
|
|
CXXFLAGS= -Os -fomit-frame-pointer
|
|
|
|
override CXXFLAGS+= -Wall -fsigned-char
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
2021-08-09 11:37:51 +00:00
|
|
|
all: vvmtool
|
2021-08-09 08:15:14 +00:00
|
|
|
|
|
|
|
clean:
|
2021-08-09 11:37:51 +00:00
|
|
|
-$(RM) vvmtool vvm.o
|
2021-08-09 10:53:35 +00:00
|
|
|
|
|
|
|
%.o : %.cpp
|
|
|
|
$(CXX) -o $@ -c $<
|
2021-08-09 08:15:14 +00:00
|
|
|
|
2021-08-09 11:37:51 +00:00
|
|
|
vvmtool: vvm.o
|
|
|
|
$(CXX) -o vvmtool $^
|
2021-08-09 10:53:35 +00:00
|
|
|
|
|
|
|
vvm.o: vvm.cpp vvm.h util.h
|