Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

How to modify the Linux's build script if adding new source file

(1/1)

cyberkoa:
which file should I modify ? tiwag mentioned before is Makefile.am but I see a lot of Makefile.am.

I found that under wxSmith there is one , so I add to the Makefile.am. When I do a "make" , it gives message "no rule to compile xxxx.cpp"

Anything I left out ?   :(

yop:
You have to ./cofigure first when adding a new source file.

mandrav:

--- Quote from: cyberkoa on January 17, 2006, 06:15:47 am ---Anything I left out ?   :(

--- End quote ---

Yes, probably ;)
Post your modified Makefile.am.


--- Quote from: yop on January 17, 2006, 08:41:45 am ---You have to ./cofigure first when adding a new source file.

--- End quote ---

No need to run ./configure. This is needed only when adding a new Makefile.am. When editing an existing Makefile.am, it regenerates the Makefile automatically incorporating any changes.

cyberkoa:
I found out what I left out already , I left out one 's' in the filename :oops:  because the wxSmith source used to start with "wxs" ..

manage to compile, link and load wxSmith plugin now. Makefile.am committed.

Linux version quite buggy compare to Windows version .. still testing in progress. ..

yop:

--- Quote from: mandrav on January 17, 2006, 08:44:32 am ---No need to run ./configure. This is needed only when adding a new Makefile.am. When editing an existing Makefile.am, it regenerates the Makefile automatically incorporating any changes.

--- End quote ---
Learned something today thanks

Navigation

[0] Message Index

Go to full version