diff options
Diffstat (limited to 'nserver/Makefile')
-rw-r--r-- | nserver/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nserver/Makefile b/nserver/Makefile index c6a12a8..1b6583c 100644 --- 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 |