Skip to content

Commit

Permalink
Makefile simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Sep 19, 2024
1 parent b8b5ba2 commit 495f67e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ else
$(info WARNING! Doxygen is not available. Will skip 'dox' target)
endif

# Link against thread lib
LDFLAGS += -pthread

export

# Build everything...
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# smax-clib

C/C++ client library for the
C/C++ client library and toolkit for the
[SMA Exchange (SMA-X)](https://docs.google.com/document/d/1eYbWDClKkV7JnJxv4MxuNBNV47dFXuUWu7C4Ve_YTf0/edit?usp=sharing)
structured real-time database

Expand Down
11 changes: 3 additions & 8 deletions test.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Load the common Makefile definitions...
include config.mk
include config.mk

# Load the common Makefile definitions...
CFLAGS += -g
LDFLAGS += -L$(LIB) -lsmax

Expand All @@ -13,9 +13,4 @@ TESTS = $(BIN)/simpleIntTest $(BIN)/simpleIntsTest $(BIN)/structTest $(BIN)/queu
# Top level make targets...
all: $(TESTS)


$(BIN)/%: $(OBJ)/%.o | $(BIN)
$(CC) -o $@ $^ $(LDFLAGS)

# Standard generic rules and targets...
include build.mk
include build.mk
8 changes: 1 addition & 7 deletions tools.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Load the common Makefile definitions...
include config.mk

LDFLAGS += -L$(LIB) -lsmax
Expand All @@ -7,9 +6,4 @@ LD_LIBRARY_PATH := $(LIB):$(LD_LIBRARY_PATH)
# Top level make targets...
all: $(BIN)/smaxValue $(BIN)/smaxWrite

# Standard generic rules and targets...
include build.mk




include build.mk

0 comments on commit 495f67e

Please sign in to comment.