mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 14:05:49 -04:00

We started passing the "all" target to make, which rendered the "localall" trick in this Makefile inoperable. I implement the strip step differently, and also reformat the Makefile. llvm-svn: 323855
14 lines
279 B
Makefile
14 lines
279 B
Makefile
LEVEL = ../../make
|
|
CXX_SOURCES := main.cpp
|
|
LD_EXTRAS += -Wl,--build-id=none
|
|
|
|
all: stripped.out
|
|
|
|
stripped.out : a.out
|
|
$(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug $< $@
|
|
|
|
clean::
|
|
$(RM) stripped.out
|
|
|
|
include $(LEVEL)/Makefile.rules
|