# Uncommment the appropriate lines for your system

# Another possible CFLAG is -DPLX which enables the use of live video
# windows   Also need the plx version of Xext.a for this option.

# for 4.3BSD
CFLAGS = 
LIBS =

# for SYSV
#CFLAGS = -DSYSV -Wc,-Nd2000 -Wc,-Ns2000 
#LIBS =

OBJECTS = greset.o

greset: $(OBJECTS) Makefile
	cc -o greset $(OBJECTS) $(LIBS)

clean:
	rm -f core *.o greset

.c.o: xpointer.h
	cc $(CFLAGS) -c $*.c

install: greset
	install -o root -m 4755 greset /usr/local/bin

uninstall:
	rm -f /usr/local/bin/greset
