Makefile - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       Makefile (354B)
       ---
            1 CFLAGS = -Wall -Wextra -std=c99 -pedantic
            2 LDFLAGS = -static -s
            3 
            4 all: html
            5 
            6 gph: build-page
            7         find * -type d -exec sh -ec './build-page -g "$$0" >$$0/index.gph' {} \;
            8 
            9 html: build-page
           10         find * -type d -exec sh -ec './build-page "$$0" >$$0/index.html' {} \;
           11 
           12 build-page: build-page.c
           13         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ build-page.c
           14 
           15 clean:
           16         rm -f build-page