simple-init

A set of init binaries for linux
git clone git://depsterr.com/git/simple-init
Log | Files | Refs | README | LICENSE

Makefile (287B)


      1 include config.mk
      2 
      3 default: $(INIT) $(SHUTDOWN)
      4 
      5 install: default
      6 	mkdir -p $(DESTDIR)
      7 	cp $(INIT) $(SHUTDOWN) $(DESTDIR)
      8 	chmod 755 $(DESTDIR)/$(INIT)
      9 	chmod 755 $(DESTDIR)/$(INIT)
     10 
     11 clean:
     12 	rm rc.*
     13 
     14 $(INIT): init.c util.c
     15 	$(CC) $^ -o $@
     16 
     17 $(SHUTDOWN): shutdown.c util.c
     18 	$(CC) $^ -o $@