Skip to content
Snippets Groups Projects
Select Git revision
  • 70bf3b632ba180b790dca06bbd829acabb52bdb6
  • master default
2 results

Makefile

Blame
  • Makefile 484 B
    CFLAGS=-g3 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -Wformat-truncation=0
    
    all: client
    
    client: LDLIBS+=$(shell pkg-config --libs xft) -lXext -lX11 
    client: LDLIBS+=-lX11
    client.o: client.c data.c
    
    data.c: gen_c.py woman/util.py woman/help.py woman/constants.py woman/main_functions.py
    	./gen_c.py > data.c || ( rm data.c; false)
    
    
    clean:
    	rm -f *~ *.o client data.c
    
    
    compile-install:
    	$(MAKE) all
    	sudo $(MAKE) install