Modifying the makefile?

This is a discussion on Modifying the makefile? within the C Programming forums, part of the General Programming Boards category; Now that I've modified the existing dissector in Wireshark I need to add my tap file to the project. Do ...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    24

    Modifying the makefile?

    Now that I've modified the existing dissector in Wireshark I need to add my tap file to the project. Do I have to modify the makefile to include it in the build? Thanks.

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    If you've added a .c file, then it would need to be compiled just like everything else, so you would have to add it to the makefile (anywhere you see a big pile of .c or .o files, that's the place to go).

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    24
    Found it, it looks like I just have to add it to a list of files in the Makefile.common file. Does this sound right?

    Yup, seems to have worked for now.
    Last edited by Dest; 04-12-2010 at 07:39 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Makefile help please
    By TriKri in forum C++ Programming
    Replies: 3
    Last Post: 09-24-2009, 01:36 AM
  2. Replies: 2
    Last Post: 08-11-2009, 07:45 AM
  3. Makefile Problem: None rule to make target
    By chris24300 in forum Linux Programming
    Replies: 25
    Last Post: 06-17-2009, 10:45 AM
  4. Building a project using a Makefile
    By starcatcher in forum Windows Programming
    Replies: 2
    Last Post: 11-23-2008, 11:50 PM
  5. Need help with Makefile
    By xshapirox in forum C++ Programming
    Replies: 14
    Last Post: 09-28-2004, 04:32 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21