Skip to content
Snippets Groups Projects
Commit 1d776302 authored by deuce's avatar deuce
Browse files

Make userlist build using the gmake build system.

parent 8751fbc9
Branches
Tags
No related merge requests found
# GNUmakefile
#########################################################################
# Makefile for Synchronet monitor for Unix #
# For use with GNU make and GNU C Compiler or Borland Kylix C++ #
# @format.tab-size 4, @format.use-tabs true #
# #
# gcc: gmake #
# Borland (still in testing/debuging stage): gmake bcc=1 #
# #
# Optional build targets: dlls, utils, mono, all (default) #
#########################################################################
# $Id$
SRC_ROOT = ../..
include $(SRC_ROOT)/build/Common.gmake
include $(SRC_ROOT)/sbbs3/sbbsdefs.mk
include ../Common.make
include ../Common.gmake
CFLAGS += $(SBBS_CFLAGS) $(SMBLIB_CFLAGS) $(XPDEV-MT_CFLAGS) `wx-config --unicode --cflags`
CXXFLAGS += $(CFLAGS)
LDFLAGS += `wx-config --unicode --libs` $(SMBLIB_LDFLAGS) $(XPDEV-MT_LDFLAGS) $(MT_LDFLAGS) $(SBBS_LDFLAGS)
$(USERLIST): $(SBBS) $(OBJS)
@echo Linking $@
$(QUIET)$(CC) $(LDFLAGS) $(OBJS) -o $@ -lsbbs $(SMBLIB_LIBS) $(XPDEV-MT_LIBS) $(SBBS_LIBS)
$(QUIET)cd $(EXEODIR) && ln -s ../gtkuserlist.glade .
OBJS := \
$(MTOBJODIR)$(DIRSEP)SBBS_User_ListApp$(OFILE) \
$(MTOBJODIR)$(DIRSEP)SBBS_User_ListMain$(OFILE)
USERLIST = $(EXEODIR)$(DIRSEP)userlist$(EXEFILE)
all: $(MTOBJODIR) $(EXEODIR) $(USERLIST)
$(USERLIST): $(XPDEV-MT_LIB) $(SMBLIB) $(SBBS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment