From 827be7304a4c40b6465951e55195caab1d666f86 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 21 Jun 2018 15:55:20 -0400 Subject: add test_execute_steps(), Makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..79cc3c5 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +OBJS=gb.o test.o lodepng.o +CFLAGS=-W -Wall -pedantic -Werror -Wextra -std=c11 -O3 +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) -- cgit v1.2.3