vulkan_test2

annotate Makefile @ 6:1dd2c7398afc

swapchain images and other tales of woe
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 22 Sep 2017 18:13:03 +0300
parents 68e1c437343f
children 8eb3126cc2f1
rev   line source
nuclear@3 1 src = $(wildcard src/*.c)
nuclear@3 2 obj = $(src:.c=.o)
nuclear@0 3 bin = test
nuclear@0 4
nuclear@0 5 CFLAGS = -pedantic -Wall -g
nuclear@4 6 LDFLAGS = -lvulkan -lX11
nuclear@0 7
nuclear@0 8 $(bin): $(obj)
nuclear@0 9 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@0 10
nuclear@0 11 .PHONY: clean
nuclear@0 12 clean:
nuclear@0 13 rm -f $(obj) $(bin)