# Makefile and LInkdef.h

**URL:** <https://root-forum.cern.ch/t/makefile-and-linkdef-h/40129>\
**Category:** Newbie\
**Created:** [June 29, 2020, 8:29am UTC](https://root-forum.cern.ch/t/makefile-and-linkdef-h/40129 "2020-06-29T08:29:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/ecc23a/32.png) [@mmk](https://root-forum.cern.ch/u/mmk)\
**Post date:** [June 29, 2020, 8:29am UTC](https://root-forum.cern.ch/t/makefile-and-linkdef-h/40129/1 "2020-06-29T08:29:31Z")

</div>

I’m following a tutorial for the analysis of ATLAS Dataset,  
it has a makefile and linkdef.h file,  
it was working fine when I had only one class(eventloop.cpp and eventloop.h)  
when I added another class I’m unable to add it properly  
also the ttorial says if you have to add more than one header file, then mention it on second line add backslash after each line.

this makefile was working fine but now I have to add data.h and data.o  
Thankyou!

 ![Screenshot from 2020-06-29 13-27-29](https://root-forum.cern.ch/uploads/default/original/3X/e/2/e2ae15953bc4be7017d20473728fb12387dab7da.png)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [June 29, 2020, 8:58am UTC](https://root-forum.cern.ch/t/makefile-and-linkdef-h/40129/3 "2020-06-29T08:58:23Z")

</div>

> [@mmk](#):
>
> I’m following a tutorial for the analysis of ATLAS Dataset,

Can you point where this example is ?

---

<div class="post-metadata">

**Author:** ![mmk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/ecc23a/32.png) [@mmk](https://root-forum.cern.ch/u/mmk)\
**Post date:** [June 29, 2020, 3:40pm UTC](https://root-forum.cern.ch/t/makefile-and-linkdef-h/40129/4 "2020-06-29T15:40:00Z")

</div>

Thankyou for your response, but I’ve solved the issue.  
it was a minor issue within the code
