# Uncommment the appropriate lines for your system

# for 4.3BSD
CFLAGS =
LIBS = 

# for SYSV
#CFLAGS = -DSYSV
#LIBS = -lbsdipc -lBSD

gshutdown: gshutdown.o
	cc -o gshutdown gshutdown.o ../../Glib/libG.a $(LIBS)

clean:
	rm -f core *.o gshutdown

install: gshutdown
	install -o root -m 755 gshutdown /usr/local/bin

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