Files
NJU_PA/navy-apps/scripts/native.mk
zzy 525a3e295b NJU-ProjectN/navy-apps ics2023 initialized
NJU-ProjectN/navy-apps e8346911c80af39b63e47d8aba5878e43231ad63 libos,native: add comment for the format of /proc/dispinfo
2024-09-22 10:14:24 +08:00

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