diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 09:23:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 09:23:20 +1300 |
commit | 3f802b40ce5e11d7c176b8d315010d32c7ef6bf3 (patch) | |
tree | bbc6590054a3782153cc75b1ef1654c28fbc5832 | |
parent | More POSIX goodness for Makefile (diff) | |
download | libayylmao-master.tar.gz libayylmao-master.zip |
Needs to be used for the object file build
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ PREFIX = $(HOME)/.local ALL = libayylmao.a libayylmao.so OBJ = ayy.o lmao.o +CFLAGS = -fPIC + all: $(ALL) install: $(ALL) @@ -19,4 +21,4 @@ clean: libayylmao.a: libayylmao.a(ayy.o) libayylmao.a(lmao.o) libayylmao.so: $(OBJ) - $(CC) $(CFLAGS) -fPIC -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ ayy.o lmao.o + $(CC) $(CFLAGS) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ ayy.o lmao.o |