nserver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit e17994295c6dccaaf409e2dd25d4eb2c8d051bcf
parent 7850bea0ab6630eaee79a4acff75ce50649f22ac
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 15 Sep 2019 13:53:43 -0400

nserver/Makefile: Add snafu to build stuff under src/

Diffstat:
nserver/Makefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nserver/Makefile b/nserver/Makefile @@ -16,7 +16,7 @@ TARGET=build/libnserve.a SO_TARGET=$(patsubst %.a,%.so,$(TARGET)) # The Target Build -all: $(PROGRAMS) TAGS +all: $(TARGET) $(SO_TARGET) $(PROGRAMS) TAGS dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) dev: all @@ -28,7 +28,7 @@ $(TARGET): build $(OBJECTS) $(SO_TARGET): $(TARGET) $(OBJECTS) $(CC) -shared -o $@ $(OBJECTS) -$(PROGRAMS): LDLIBS += -lm +$(PROGRAMS): LDLIBS += $(TARGET) -lm build: @mkdir -p build