NJU-ProjectN/navy-apps e8346911c80af39b63e47d8aba5878e43231ad63 libos,native: add comment for the format of /proc/dispinfo
15 lines
334 B
Makefile
15 lines
334 B
Makefile
LD = $(CXX)
|
|
|
|
### Run an application with $(ISA)=native
|
|
|
|
env:
|
|
$(MAKE) -C $(NAVY_HOME)/libs/libos ISA=native
|
|
|
|
run: app env
|
|
@LD_PRELOAD=$(NAVY_HOME)/libs/libos/build/native.so $(APP) $(mainargs)
|
|
|
|
gdb: app env
|
|
@gdb -ex "set environment LD_PRELOAD $(NAVY_HOME)/libs/libos/build/native.so" --args $(APP) $(mainargs)
|
|
|
|
.PHONY: env run gdb
|