xlib_playground

Xlib playground for experiments.
Log | Files | Refs

Makefile (260B)


      1 CC=cc
      2 IN=*.c ../!(main|object).c
      3 OUT=test
      4 INCS=-I/usr/X11R6/include
      5 CFLAGS=-Wall -W -Wextra -Wpointer-arith -Wbad-function-cast -std=c11
      6 LIBS=-L/usr/X11R6/lib -lX11 -lXext -lm
      7 
      8 test: *.c ../*.c ../*.h
      9 	$(CC) $(INCS) $(CFLAGS) -o $(OUT) $(IN) $(LIBS)
     10 	./$(OUT)