diff options
-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 |