From ed5da41343db26bb2c06b46a6c16a0dc78c0636a Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Mon, 10 Jun 2013 10:57:23 -0800 Subject: Adding a dependency so the ptxinto.tab.h file is generated before the lex.ptxinfo_.c file is built review:42002 lgtm:1 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16432] --- src/cuda-sim/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cuda-sim/Makefile') diff --git a/src/cuda-sim/Makefile b/src/cuda-sim/Makefile index 8d33e19..51a9d8e 100644 --- a/src/cuda-sim/Makefile +++ b/src/cuda-sim/Makefile @@ -87,7 +87,7 @@ $(OUTPUT_DIR)/lex.ptx_.o: lex.ptx_.c $(OUTPUT_DIR)/ptxinfo.tab.o: ptxinfo.tab.c $(CPP) -c $(OPT) -DYYDEBUG ptxinfo.tab.c -o $(OUTPUT_DIR)/ptxinfo.tab.o -$(OUTPUT_DIR)/lex.ptxinfo_.o: lex.ptxinfo_.c +$(OUTPUT_DIR)/lex.ptxinfo_.o: lex.ptxinfo_.c ptxinfo.tab.c $(CPP) -c $(OPT) lex.ptxinfo_.c -o $(OUTPUT_DIR)/lex.ptxinfo_.o ptx.tab.c: ptx.y -- cgit v1.3