Commit 0f71b79b by jim

Fix makefile

git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@10461 ddd99763-3ecb-0310-9145-efcb8ce7c51f
parent d6f01a34
Showing with 2 additions and 2 deletions
......@@ -15,7 +15,7 @@
CFLAGS += -Wall -g #-pg
LDFLAGS += #-pg
LDLIBS += -lm #CHANGED location from LDFLAGS for proper linking using gcc
LDLIBS += -lm
PREFIX = /usr/local
MANPATH = ${PREFIX}/man/man1/
......@@ -51,7 +51,7 @@ obj-common = opt.o ue9.o ue9error.o netutil.o debug.o nerdjack.o
obj-ethstream = ethstream.o $(obj-common)
ethstream: $(obj-ethstream)
$(CC) -o $@ $^ $(LDFLAGS)
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
ethstream.exe: $(obj-ethstream:.o=.obj) compat-win32.obj
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment