--- sbbs/src/sbbs3/gtkmonitor/gnumakefile 2018/04/24 16:41:24 1.1.1.1 +++ sbbs/src/sbbs3/gtkmonitor/gnumakefile 2018/04/24 16:45:06 1.1.1.2 @@ -11,7 +11,7 @@ # Optional build targets: dlls, utils, mono, all (default) # ######################################################################### -# $Id: gnumakefile,v 1.1.1.1 2018/04/24 16:41:24 root Exp $ +# $Id: gnumakefile,v 1.1.1.2 2018/04/24 16:45:06 root Exp $ SRC_ROOT = ../.. include $(SRC_ROOT)/build/Common.gmake @@ -23,7 +23,7 @@ endif vpath %.c .. -CFLAGS += $(SBBSDEFS) -I.. $(SMBLIB_CFLAGS) $(XPDEV-MT_CFLAGS) `pkg-config libglade-2.0 --cflags` +CFLAGS += $(SBBSDEFS) -I.. -I../../comio $(SMBLIB_CFLAGS) $(XPDEV-MT_CFLAGS) `pkg-config libglade-2.0 --cflags` # Hopefully, -Wl,-E exports all symbols dynamically everywhere. LDFLAGS += -Wl,-E -L../$(LIBODIR) `pkg-config libglade-2.0 --libs` $(SMBLIB_LDFLAGS) $(XPDEV-MT_LDFLAGS) $(MT_LDFLAGS) @@ -41,3 +41,4 @@ endif $(GTKMONITOR): $(OBJS) @echo Linking $@ $(QUIET)$(CC) $(LDFLAGS) $(OBJS) -o $@ -lsbbs $(SMBLIB_LIBS) $(XPDEV-MT_LIBS) + $(QUIET)cd $(EXEODIR) && ln -s ../gtkmonitor.glade .