Browse Source

Fixed a make error - an old generated u.h file was included within Sealing.h - we now require the untrusted header files to be generated before compiling any modules + fixed clean target.

dettanym 4 years ago
parent
commit
1fe736ed7b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -164,7 +164,7 @@ App/Decryptor_u.o: App/Decryptor_u.c
 	@$(CC) $(App_Compile_Flags) -c $< -o $@
 	@echo "CC   <=  $<"
 
-App/%.o: App/%.cpp
+App/%.o: App/%.cpp Include/Decryptor_u.h
 	@$(CXX) $(App_Compile_Flags) -c $< -o $@
 	@echo "CXX  <=  $<"
 
@@ -212,4 +212,4 @@ $(Enclave_Name_2): Decryptor.so
 .PHONY: clean
 
 clean:
-	@rm -rf .config_* $(App_Name) *.so *.a App/*.o App/LAResponder/*.o Decryptor/*.o Decryptor/*_t.* Decryptor/*_u.* LocalAttestationCode/*.o LocalAttestationCode/*_t.* CommonOpensslCode/*.o
+	@rm -rf .config_* $(App_Name) *.so *.a App/*.o App/LAResponder/*.o Decryptor/*.o Decryptor/*_t.* App/Decryptor_u.c Include/Decryptor_u.h LocalAttestationCode/*.o LocalAttestationCode/*_t.* CommonOpensslCode/*.o