NAME= gkrellongrunctl

SRC= $(NAME).c
DIR= /usr/X11R6/libexec/gkrellm

MKDIR= /bin/mkdir
RM= /bin/rm


all: $(NAME)

$(NAME): $(SRC)
	$(CC) -O -Wall -o $(NAME) $(SRC)

install:
	$(MKDIR) -p $(DIR)
	$(INSTALL) -c -m 4555 -o root -g wheel $(NAME) $(DIR)

deinstall:
	$(RM) -f $(DIR)/$(NAME)

clean:
	$(RM) -f $(NAME) *core* *~
