OBJS=gb.o test.o lodepng.o CFLAGS=-W -Wall -pedantic -Werror -Wextra -std=c11 -g APP=./test .PHONY=all clean test all: $(APP) gb.c: ops.yaml ./gen.rb > gb.c $(APP): $(OBJS) $(CC) -o $(APP) $(OBJS) %.o: %.c gb.h $(CC) -c $(CFLAGS) $< clean: $(RM) $(OBJS) $(APP)