mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-11 23:25:17 +00:00
23 lines
461 B
Makefile
23 lines
461 B
Makefile
|
X11BASE ?= /usr/X11R6
|
||
|
INCDIR = -I$(X11BASE)/include
|
||
|
LIBDIR = -L$(X11BASE)/lib
|
||
|
LIBS = -lX11 -lXmu
|
||
|
OBJS = remote.o
|
||
|
CFLAGS += -DSTANDALONE -g $(INCDIR)
|
||
|
PREFIX ?= /usr/local
|
||
|
BSD_INSTALL_PROGRAM ?= /usr/bin/install -c -s
|
||
|
|
||
|
BINARY = netscape-remote
|
||
|
|
||
|
all: remote
|
||
|
|
||
|
remote: $(OBJS)
|
||
|
$(CC) $(CFLAGS) $(LIBDIR) $(LIBS) -o $(BINARY) $(OBJS)
|
||
|
|
||
|
install: all
|
||
|
$(BSD_INSTALL_PROGRAM) $(BINARY) $(PREFIX)/bin
|
||
|
|
||
|
clean:
|
||
|
for i in $(OBJS); do rm -f $$i; done
|
||
|
rm -f $(BINARY)
|