Skip to content

Commit c2c7d03

Browse files
Remove a.out after finding boost extension
Exclude cdhdrs include on make clean target - again!
1 parent 7048574 commit c2c7d03

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ ELIBS=lib/libecolab$(ECOLIBS_EXT).a $(MODS:%=lib/%)
103103
# toplevel version
104104
include Makefile.version
105105
# run build CD headers before anything else
106+
ifneq ($(MAKECMDGOALS),clean)
106107
include cdhdrs
108+
endif
107109

108110
# variant of $(VERSION) that has leading 0s stripped (for sonames)
109111
SOVERSION=$(subst D0,D,$(subst D00,D,$(VERSION)))

include/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ ifndef MXE
178178
$(warning cannot figure out boost extension)
179179
endif
180180
endif
181+
$(shell rm a.out)
181182
$(warning Boost extension=$(BOOST_EXT))
182183
else # MXE
183184
GCC=1

0 commit comments

Comments
 (0)