recipes

packages recipes for the <noname> package manager
Log | Files | Refs

build (241B)


      1 #!/bin/sh -ex
      2 
      3 awk '
      4 	SKIP == 0 { print; }
      5 	{ SKIP = 0; }
      6 	/BIN.: .*REQ/ {
      7 		print("\t$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(REQ:=.o) $(LIBS)");
      8 		SKIP = 1;
      9 	}
     10 ' Makefile >Makefile.$$
     11 
     12 mv Makefile.$$ Makefile
     13 
     14 make PREFIX="$PREFIX" install