Skip to content

Commit

Permalink
Be more unixy.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieantonio committed Nov 1, 2015
1 parent 51903bc commit 50b1968
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion analytic-tools/Modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../common.mk

CPPFLAGS += -MMD

LIB = Lib.a
LIB = libisri.a
SRCS = $(wildcard *.c)
OBJS = $(patsubst %.c,%.o,$(SRCS))
DEPS := $(patsubst %.c,%.d,$(SRCS))
Expand Down
8 changes: 3 additions & 5 deletions analytic-tools/use_lib.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ LOCAL_INCLUDE_DIR := $(abspath $(TOP)Modules)

include $(TOP)/common.mk

LDFLAGS = $(LOCAL_INCLUDE_DIR)/Lib.a -lm

# ld(1) needs the LDFLAGS at the end for some dumb reason.
%: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $< $(LDFLAGS)
# Add libisri, created in Modules/
LDFLAGS = -L$(LOCAL_INCLUDE_DIR)
LDLIBS = -lisri -lm

0 comments on commit 50b1968

Please sign in to comment.