From 27ed9515a369d86597d347e377e1353afb6bd975 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Tue, 8 Dec 2020 15:58:46 -0500 Subject: started text rendering; still needs some work --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a91771b..304acaf 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ WARNINGS=-Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu++11 -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough LIBS=-ldl `pkg-config --libs --cflags box2d sdl2 gl` DEBUG_CFLAGS=$(CFLAGS) $(WARNINGS) $(LIBS) -DDEBUG -O0 -g -obj/debug: physics obj/sim.so +obj/debug: physics obj/sim.so obj touch obj/debug physics: main.cpp gui.hpp sim.cpp time.cpp $(CXX) main.cpp -o $@ $(DEBUG_CFLAGS) -obj/sim.so: *.[ch]* +obj/sim.so: *.[ch]* obj $(CXX) sim.cpp -fPIC -shared -o $@ $(DEBUG_CFLAGS) touch obj/sim.so_changed +obj: + mkdir -p obj -- cgit v1.2.3