makefile update

This commit is contained in:
Christian Barthel 2019-01-11 22:53:40 +01:00
parent 75987c50d6
commit fcd19adc54

View File

@ -1,6 +1,8 @@
OS = FreeBSD # OS=$(uname) make
### OS = FreeBSD
PROG= xmem PROG= xmem
VERSION= 1.26 VERSION= 1.27
FreeBSD_lflag= -lkvm FreeBSD_lflag= -lkvm
LDFLAGS+= -L/usr/X11R6/lib -L/usr/local/lib/ -lX11 -lXt -lXaw -lXmu LDFLAGS+= -L/usr/X11R6/lib -L/usr/local/lib/ -lX11 -lXt -lXaw -lXmu
LDFLAGS+= $($(OS)_lflag) LDFLAGS+= $($(OS)_lflag)
@ -14,10 +16,10 @@ OBJECTS += $($(OS)_stub)
all: xmem all: xmem
xmem.full: xmem.full:
echo full echo "full not supported yet"
xmem.debug: xmem.debug:
echo full echo "debug not supported yet"
xmem: $(OBJECTS) xmem: $(OBJECTS)
$(CC) -o xmem $(OBJECTS) $(LDFLAGS) $(CC) -o xmem $(OBJECTS) $(LDFLAGS)