From 1ce6031a42d22a0f2be566e1873377ab2cda66c8 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Fri, 30 Aug 2024 01:31:27 -0500 Subject: Makefile: retool the build system Retool the build system to be more modular and more flexible. Move all subsystems into separate directories and create make.config files that will conditionally compile based on information from the root Makefile. Signed-off-by: Danny Holman --- sound/make.config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sound/make.config (limited to 'sound') diff --git a/sound/make.config b/sound/make.config new file mode 100644 index 0000000..6fe27f5 --- /dev/null +++ b/sound/make.config @@ -0,0 +1,7 @@ +ifneq ("$(HEADLESS)", "1") + +LIBS += -lopenal + +OBJS += sound/sound.o \ + +endif -- cgit v1.2.3