diff options
| author | Mahmoud <[email protected]> | 2018-09-14 19:06:37 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-09-14 19:06:37 -0400 |
| commit | 7633c9da64049ee379ee48e17ace2c171a0c7abc (patch) | |
| tree | 1af03364b7c2d28543d12e72a139f5d33943af06 /src/intersim2 | |
| parent | a3e64bb5465b2384c46003947c3b874892ba2f5f (diff) | |
| parent | e8c9c7f780b237aad9e5914f4cc57831b562490b (diff) | |
Merge branch 'dev' of https://github.com/gpgpu-sim/gpgpu-sim_distribution into dev
Diffstat (limited to 'src/intersim2')
| -rw-r--r-- | src/intersim2/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intersim2/Makefile b/src/intersim2/Makefile index ef948d6..bd42000 100644 --- a/src/intersim2/Makefile +++ b/src/intersim2/Makefile @@ -125,6 +125,14 @@ endif # rules to compile simulator +$(OBJDIR)/Makefile.makedepend: depend + +ALL_SRCS = $(CPP_SRCS) +ALL_SRCS += $(shell ls **/*.cpp) + +depend: + touch $(OBJDIR)/Makefile.makedepend + makedepend -f$(OBJDIR)/Makefile.makedepend -I$(INCPATH) -p$(OBJDIR)/ $(ALL_SRCS) 2> /dev/null ${LEX_OBJS}: $(OBJDIR)/lex.yy.c $(OBJDIR)/y.tab.h $(CC) $(CPPFLAGS) -c $< -o $@ @@ -173,3 +181,5 @@ $(OBJDIR)/y.tab.c $(OBJDIR)/y.tab.h: config.y $(OBJDIR)/lex.yy.c: config.l $(LEX) -o$@ $< + +include $(OBJDIR)/Makefile.makedepend |
