Commit cd97db56 authored by Mike Hibler's avatar Mike Hibler

Beginning support for Linux build

parent 53aebfa2
......@@ -35,15 +35,24 @@ CFLAGS += -O -g -static #-Wall
CFLAGS += -I. -I$(TGSRCDIR) -I${OBJDIR}
CFLAGS += -I$(SRCDIR)/../lib -I$(TESTBED_SRCDIR)/lib/libtb
CFLAGS += `elvin-config --cflags vin4c`
CFLAGS += -DFREEBSD -DUSEEVENTS
YCFLAGS += -I. -DFREEBSD -DUSEEVENTS
CFLAGS += -DUSEEVENTS
LDFLAGS += -L../lib -L${OBJDIR}/lib/libtb
LIBS += -levent -ltb
LIBS += -ll -lcompat
LIBS += `elvin-config --libs vin4c`
# FreeBSD
CFLAGS += -DFREEBSD
YCFLAGS += -I. -DUSEEVENTS -DFREEBSD
LIBS += -ll -lcompat
# Linux
#CFLAGS += -DLINUX
#YCFLAGS += -I. -I$(TGSRCDIR) -DUSEEVENTS -DLINUX -t
#LIBS += -ll
LEX = flex -l
lex.yy.c: scan.l
@echo 'Expect non-portable character class warning (ASCII assumed).'
flex -l $<
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment