diff options
author | Daniel Bristot de Oliveira <daniel@bristot.me> | 2020-09-11 08:33:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 08:33:57 +0200 |
commit | 7d72afc99e4c26451c2bdb9ad09fa4c5614d1eb8 (patch) | |
tree | 4ab206dbffc2e0e5567be7850de03645cfdaadde | |
parent | 8467ad4da91bce8edad458cfc0f2f72b03d81e7e (diff) | |
parent | 1a00487ea7176edba48134d4f98fcb7c94a1ae53 (diff) | |
download | stalld-7d72afc99e4c26451c2bdb9ad09fa4c5614d1eb8.tar.gz |
Merge pull request #17 from clrkwllms/master
update .gitignore and add 'static' target to Makefile
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -5,3 +5,5 @@ redhat/SPECS redhat/SOURCES *.tar.xz *~ +*.o +stalld @@ -20,6 +20,9 @@ LICDIR := $(DATADIR)/licenses all: src/stalld.o $(CC) -o stalld $(LDFLAGS) src/stalld.o $(LIBS) +static: src/stalld.o + $(CC) -o stalld-static $(LDFLAGS) --static src/stalld.o $(LIBS) + .PHONY: install install: $(INSTALL) -m 755 -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(DOCDIR) @@ -33,6 +36,7 @@ install: .PHONY: clean tarball redhat push clean: @test ! -f stalld || rm stalld + @test ! -f stalld-static || rm stalld-static @test ! -f src/stalld.o || rm src/stalld.o @test ! -f $(TARBALL) || rm -f $(TARBALL) @make -C redhat clean |