xlib_playground

Xlib playground for experiments.
Log | Files | Refs

Makefile (252B)


      1 INCS=-I/usr/X11R6/include
      2 CFLAGS=-Wall -W -Wextra -Wpointer-arith -Wbad-function-cast -std=c11
      3 LIBS=-L/usr/X11R6/lib -lX11 -lXext -lm
      4 IN=*.c
      5 OUT=ex3
      6 
      7 all: $(IN)
      8 	$(CC) $(INCS) $(CFLAGS) -o $(OUT) $(IN) $(LIBS)
      9 
     10 run: all
     11 	./$(OUT)
     12 
     13 clean:
     14 	rm -f $(OUT)