From c376f6f53f737d6220206baa323c0bc62d48a9f0 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 20 Nov 2020 16:20:00 -0500 Subject: opening a window --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ad7b1d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +ALL_CFLAGS=$(CFLAGS) -Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu11 \ + -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough +LIBS=-lSDL2 -lGL -ldl +DEBUG_CFLAGS=$(ALL_CFLAGS) $(LIBS) -DDEBUG -O0 -g +ted: *.[ch] + $(CC) main.c -o $@ $(DEBUG_CFLAGS) -- cgit v1.2.3