Business IT - Technology for your business

No. 1 Story

Mobile operators get fixed price spectrum renewal in $3b Government windfall

The Government has offered Australia's three mobile operators, and vividwireless, renewal of their existing spectrum allocated on 15 year licences in the late 90s and early 2000s at set prices, while the Government expects to rake in $3 billion.

read more

Write your own Linux server part one

Business IT - Open Source

Code listings


Makefile



# -----------------------------------------------------------------------------
# Makefile for DWSERV
# -----------------------------------------------------------------------------

CC = g++
BINDIR = .

# -- Includes and links -------------------------------------------------------

#CFLAGS = $(INC) -O2
CFLAGS = $(INC) -g -DDEBUG

# Note - use the appropriate LNFLAGS lines below for your OS

LNFLAGS = -O2   #Linux
#LNFLAGS = -O2 -lnsl -lsocket #Solaris

# -- Objects ----------------------------------------------------------------
APP  = dwserv.o pwroutines.o grep.o

$(BINDIR)/dwserv: $(APP)
  $(CC) -o $(BINDIR)/dwserv $(APP) $(LNFLAGS)

dwserv.o: dwserv.cpp dwserv.h StringVector.h grep.o pwroutines.o
  $(CC) $(CFLAGS) -c dwserv.cpp

pwroutines.o: pwroutines.cpp dwserv.h StringVector.h
  $(CC) $(CFLAGS) -c pwroutines.cpp

grep.o:  grep.cpp dwserv.h StringVector.h
  $(CC) $(CFLAGS) -c grep.cpp

# -- housekeeping -----------------------------------------------------------
clean:
  rm -f *.o $(BINDIR)/dwserv



- sponsored feature -

The Death of Traditional BI: What’s Next?

How to Make Business Discovery Work for Your Business IP PABX BUYING GUIDE

Business Discovery takes its cues from consumer apps. Like Google, it encourages us- ers to hunt for and explore data without worrying about or even noticing the underly- ing technology. Their entire experience is working within an intuitive interface to get real-time, self-service results with only minimal training. ...more