summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/Makefile2
1 files changed, 1 insertions, 1 deletions
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