Looking for a make version to better support software versions
Wm E. Davidsen Jr
davidsen at sixhub.UUCP
Sat Dec 30 03:24:51 AEST 1989
You can sort of do this now. You can put the defines in a separate
header file and have your main header file include them, setting
dependencies for each source which must change, or you can make a dummy
item which you touch when you change the define, then make objects
depend on it.
None of this is automatic, but it is portable.
# these change when OS is redefined
OSLIST = part2.o random.o report3.o
# touch osdef.inc when the OS define is changed
$(OSLIST):: osdef.inc
I think a portable program to go through files and generate some list
of defines used would be more useful to you and others.
--
bill davidsen - sysop *IX BBS and Public Access UNIX
davidsen at sixhub.uucp ...!uunet!crdgw1!sixhub!davidsen
"Getting old is bad, but it beats the hell out of the alternative" -anon
More information about the Alt.sources.d
mailing list