Loading Makefile.common +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,8 @@ MWCFLAGS = -std=gnu99 -g $(DEFS) $(CCSEC) $(WARNINGS) ifeq ($(UNAME),FreeBSD) MWCFLAGS += -I/usr/local/include MWLDFLAGS = -L/usr/local/lib else MWLDFLAGS += -Wl,--as-needed endif ifneq ($(RELEASE_BUILD),0) MWCFLAGS += -O2 Loading src/server/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ LDLIBS += -ljansson -lsqlite3 build: mwserv mwserv: $(CODE:.c=.o) ../libmw.a $(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) clean: -rm -f *.o .*.d *.d mwserv Loading src/webclient/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ CFLAGS+= -I.. -I/usr/include/postgresql build: mwpoll mwpoll: mwpoll.o import.o comms.o mwstring.o ../libmw.a $(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) clean: -rm -f *.o .*.d *.d mwpoll Loading Loading
Makefile.common +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,8 @@ MWCFLAGS = -std=gnu99 -g $(DEFS) $(CCSEC) $(WARNINGS) ifeq ($(UNAME),FreeBSD) MWCFLAGS += -I/usr/local/include MWLDFLAGS = -L/usr/local/lib else MWLDFLAGS += -Wl,--as-needed endif ifneq ($(RELEASE_BUILD),0) MWCFLAGS += -O2 Loading
src/server/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ LDLIBS += -ljansson -lsqlite3 build: mwserv mwserv: $(CODE:.c=.o) ../libmw.a $(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) clean: -rm -f *.o .*.d *.d mwserv Loading
src/webclient/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ CFLAGS+= -I.. -I/usr/include/postgresql build: mwpoll mwpoll: mwpoll.o import.o comms.o mwstring.o ../libmw.a $(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) clean: -rm -f *.o .*.d *.d mwpoll Loading