diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-10-01 22:08:22 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-10-01 22:08:22 -0400 |
commit | 18b7bc62379d13525520531a0aac94affbef1a9c (patch) | |
tree | 9d00d2efa73e8032fcf8292678f289b10ea5b2be /src | |
parent | 90adb701314c8f2ba0703c86be7e42899b2ababb (diff) |
add room for LDFLAGS and specifying LIBS as a macro
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 7813a7f..3de2a68 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,6 +3,8 @@ all: bosix CFLAGS=-Wall -Wextra -Wpedantic +LDFLAGS= +LIBS=-ll -ly OBJS= ar.o asa.o \ basename.o \ @@ -25,7 +27,7 @@ OBJS= ar.o asa.o \ wc.o who.o write.o bosix: $(OBJS) - $(CC) -o $@ $(OBJS) -ll -ly + $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) sh.o: sh.c mains.h builtins.h |