From 50fb1482f6dd3d738ba5fd23dfa6789c0f397c92 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sat, 5 Dec 2020 14:31:19 -0500 Subject: rotating line --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bd5bb54 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +WARNINGS=-Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu11 -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough +LIBS=-lSDL2 -lGL -ldl +DEBUG_CFLAGS=$(CFLAGS) $(WARNINGS) $(LIBS) -DDEBUG -O0 -g +obj/debug: physics obj/sim.so + touch obj/debug +physics: main.c gui.h + $(CC) main.c -o $@ $(DEBUG_CFLAGS) +obj/sim.so: *.[ch] + $(CC) sim.c -fPIC -shared -o $@ $(DEBUG_CFLAGS) + touch obj/sim.so_changed -- cgit v1.2.3