Skip to content

Commit

Permalink
app/aep-redirect: add Makefile debug target (cf., issue #9).
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanbulck committed Mar 16, 2019
1 parent 8f57afb commit 3fa2afa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/aep-redirect/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ OUTPUT = app
BUILDDIRS = $(SUBDIRS:%=build-%)
CLEANDIRS = $(SUBDIRS:%=clean-%)


.SILENT:
all: $(OUTPUT)

run: clean all
sudo $(URTS_LD_LIBRARY_PATH) ./app
sudo $(URTS_LD_LIBRARY_PATH) ./$(OUTPUT)

debug: clean all
sudo `which sgx-gdb` ./$(OUTPUT)

$(OUTPUT): $(BUILDDIRS) $(OBJECTS)
echo "$(INDENT)[LD]" $(OBJECTS) $(LIBS) -o $(OUTPUT)
Expand Down

0 comments on commit 3fa2afa

Please sign in to comment.