diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-26 17:34:28 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-26 17:34:28 +0000 |
commit | e320d14b7279e0de4e519c43c54e46a1191e53fe (patch) | |
tree | 8a17fbf72bfa502f534f90b53878585f7b70bba8 /include | |
parent | fa801a70e7ccbc3e6f65822077408d844e109688 (diff) | |
download | ATCD-e320d14b7279e0de4e519c43c54e46a1191e53fe.tar.gz |
ChangeLogTag:Fri Jan 26 09:33:20 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/rules.lib.GNU | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU index 277e6f23bf6..5e9b2a531d1 100644 --- a/include/makeinclude/rules.lib.GNU +++ b/include/makeinclude/rules.lib.GNU @@ -15,20 +15,29 @@ ifdef SHLIBA VSHLIBA = $(SHLIBA:%.$(LIBEXT)=%$(VAR).$(LIBEXT)) endif -VLOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VDIR)$(notdir $(file)))) +VLOBJS = $(subst .c,.$(OBJEXT), \ + $(subst .cpp,.$(OBJEXT), \ + $(foreach file,$(LSRC),$(VDIR)$(notdir $(file))))) LSRC += $(LSRC2) ifdef PRELIB ifdef PRELIB_USES_OBJ_ONLY - VSHOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) + VSHOBJS = $(subst .c,.$(OBJEXT), \ + $(subst .cpp,.$(OBJEXT), \ + $(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file))))) else # ! PRELIB_USES_OBJ_ONLY - VSHOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) + VSHOBJS = $(subst .c,.$(OBJEXT), \ + $(subst .cpp,.$(OBJEXT), \ + $(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file))))) endif # ! PRELIB_USES_OBJ_ONLY VSHOBJS1 = $(VSHOBJS) else # ! PRELIB - VSHOBJS = $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) - VSHOBJS1 = \ - $(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file)))) + VSHOBJS = $(subst .c,.$(OBJEXT), \ + $(subst .cpp,.$(OBJEXT), \ + $(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file))))) + VSHOBJS1 = $(subst .c,.$(OBJEXT), \ + $(subst .cpp,.$(OBJEXT), \ + $(foreach file,$(LSRC),$(VSHDIR)$(notdir $(file))))) endif # ! PRELIB # Comment out for now... |