diff options
Diffstat (limited to 't/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/Makefile')
-rw-r--r-- | t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/Makefile b/t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/Makefile new file mode 100644 index 0000000..6b1fa78 --- /dev/null +++ b/t/recipes/checks/libraries/static/no-code/without-fat-lto-objects/build-spec/orig/Makefile @@ -0,0 +1,17 @@ +CC=gcc +CFLAGS+= -g -flto=auto +LIBFILES:= libcodeless.a + +all: $(LIBFILES) + +libcodeless.a: code.o + ar rcs -o $@ $^ + +clean: + rm -f *.a *.o + +install: all + install -m 0755 -d $(DESTDIR)/usr/lib + install -m 0644 *.a $(DESTDIR)/usr/lib + +.PHONY: install clean |