fatbase

portable OpenBSD tools
git clone git://git.2f30.org/fatbase
Log | Files | Refs

Makefile (484B)


      1 TARG = awk bc diff hexdump lex sed yacc
      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