include ../Makefile.common

all: system_off



system_off: system_off.o
	$(CC) $(LDFLAGS) -o system_off $^




install: all
	install ng-update system_off $(DESTDIR)/sbin
link-install: all
	install -d $(DESTDIR)/sbin
	ln -s -f `pwd`/ng-update $(DESTDIR)/sbin/ng-update
	ln -s -f `pwd`/system_off $(DESTDIR)/sbin/system_off
uninstall:
	rm -f $(DESTDIR)/sbin/system_off


clean:
	rm *~ ; true
	rm *.o ; true
	rm system_off ; true
