Hello,
I would like to contribute a carbon demonstration application.
A new folder should be created here: fpc/packages/extra/univint/examples
Then, I guess that I will need a makefile as well. I don't fully understand exactly why, since I would say that this example won't be compiled by default, but all other folders have makefiles.
I took a look at the Makefile.fpc for the gtk 1.2 examples and there are some odd things:
[target]
dirs=tutorial >>> Which tutorial dirs is this? There is no tutorial directory programs=entry notebook scribble clist ttt_test pixmap list progressbar filesel \
statusbar toolbar rulers spinbutton
> Any use in listing the examples here?
[require]
packages=gtk >> for carbon it should be univint ?
[clean]
units=tictactoe >> So, it will only clean one example, and exactly the one which isn't compiled???
[install]
fpcpackage=y >> What does that mean?
[default]
fpcdir=../../../..
[rules]
.NOTPARALLEL:
Further, do I also need to change the makefile from the univint directory?
Further, should I also build the makefile for the new directory? And in this case, do I need to regenerate the entire makefile tree? umm ... maybe I should let that to someone with more experience, I will probably break something if I have to do this myself =)
I attached the app in case anyone wants to review it before I commit.
thanks,
