Skip to content

Commit

Permalink
feat(row-counter): initial implementaion
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Jan 27, 2023
1 parent 26bd60a commit ab4bd44
Show file tree
Hide file tree
Showing 26 changed files with 9,346 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/build
**/bin
**/enclave/target
**/app/target
**/app/.python-version
Expand Down
2 changes: 2 additions & 0 deletions row-counter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
enclave/Enclave_private.pem
enclave/Enclave_public.pem
46 changes: 46 additions & 0 deletions row-counter/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Dummy makefile, will call the host and enclave makefile when requested.

SRC_U = app/
SRC_T = enclave/

# Compilation process, will call the appropriate makefiles.

all: host enclave

host:
@echo "\033[32mRequest to compile the host part...\033[0m"
@make -C $(SRC_U)

enclave:
@echo "\033[32mRequest to compile the enclave part...\033[0m"
@make -C $(SRC_T)

clean:
@make -C $(SRC_U) clean
@make -C $(SRC_T) clean

fclean:
@make -C $(SRC_U) fclean
@make -C $(SRC_T) fclean

clean_host:
@make -C $(SRC_U) clean

clean_enclave:
@make -C $(SRC_T) clean

fclean_host:
@make -C $(SRC_U) fclean

fclean_enclave:
@make -C $(SRC_T) fclean

re_host: fclean_host host

re_enclave: fclean_enclave enclave

re: fclean all

# Dummy rules to let make know that those rules are not files.

.PHONY: host enclave clean clean_host clean_enclave fclean_host fclean_enclave fclean re re_host re_enclave
Loading

0 comments on commit ab4bd44

Please sign in to comment.