# Non-OMK Makefile

PROGS = wserver wclient schedlat

all: $(PROGS) 
.PHONY:all

LDFLAGS = -lpthread  -lrt 
CFLAGS += -Wall -D_REENTRANT -g -O2
ifdef DEBUG
CFLAGS += -DDEBUG=1
endif

wserver: wserver.o common.o
wclient: wclient.o common.o
schedlat: schedlat.o common.o

clean:
	rm -rf ./*.o
	rm -f $(PROGS)
