Makefile - default to OpenBSD

This commit is contained in:
Christian Barthel 2020-11-16 14:56:56 +01:00
parent fcd19adc54
commit 34548bbd21

View File

@ -1,5 +1,6 @@
# OS=$(uname) make # OS=$(uname) make
### OS = OpenBSD
### OS = FreeBSD ### OS = FreeBSD
PROG= xmem PROG= xmem
VERSION= 1.27 VERSION= 1.27
@ -10,6 +11,7 @@ CFLAGS+= -Wall -I/usr/X11R6/include/ -I/usr/local/include/
OBJECTS= xmem.o MemStripChart.o OBJECTS= xmem.o MemStripChart.o
FreeBSD_stub = get_mem_fbsd.o FreeBSD_stub = get_mem_fbsd.o
OpenBSD_stub = get_mem.o OpenBSD_stub = get_mem.o
_stub = get_mem.o
OBJECTS += $($(OS)_stub) OBJECTS += $($(OS)_stub)