I had a thought.
I'd like my makefiles to look more like:
> include $(PATSHOME)/mk/
pre.mk
>
> SOURCESsta := \
> DiningPhil.sats \
>
> SOURCESdyn := \
> DiningPhil.dats \
> DiningPhil_fork.dats \
> DiningPhil_dine.dats \
> DiningPhil_think.dats
>
> TARGET := cmdname
>
> include $(PATSHOME)/mk/
post.mk
Rather than have a set of idioms for writing makefiles for each project,
we could just say, we're using gnu make, if you write some software in
ATS, include those makefiles from the $PATSHOME directory, and just
specify the information that's unique about your project. Why have a
convention when you can just have a library?
I believe the gnu implemenetation of objective C provides something like
this, and Plan 9 From Bell Labs does something very similar throughout
it's build system. The go programming language used this before they'd
written their own build tools.
Thoughts?
Quoting gmhwxi (2013-10-19 20:40:47)
> --
> You received this message because you are subscribed to the Google
> Groups "ats-lang-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
ats-lang-user...@googlegroups.com.
> To post to this group, send email to
ats-lan...@googlegroups.com.
> To view this discussion on the web visit
> [1]
https://groups.google.com/d/msgid/ats-lang-users/bf413957-049f-4037-
> b169-eb983ab1d7d2%
40googlegroups.com.
>
> References
>
> 1.
https://groups.google.com/d/msgid/ats-lang-users/bf413957-049f-4037-b169-eb983ab1d7d2%40googlegroups.com