morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base
Log | Files | Refs

Makefile (489B)


      1 TARG = awk sbase sdhcp sed sinit smdev ubase
      2 
      3 all:
      4 	@echo "CFLAGS  = $(CFLAGS)"
      5 	@echo "LDFLAGS = $(LDFLAGS)"
      6 	@echo "CC      = $(CC)"
      7 	for i in $(TARG); do cd $$i && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" || exit; cd ..; done
      8 
      9 install: all
     10 	for i in $(TARG); do cd $$i && $(MAKE) install || exit; cd ..; done
     11 
     12 uninstall:
     13 	for i in $(TARG); do cd $$i && $(MAKE) uninstall || exit; cd ..; done
     14 	
     15 clean:
     16 	for i in $(TARG); do cd $$i && $(MAKE) clean || exit; cd ..; done