diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-26 15:45:10 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-27 14:10:19 +0200 |
commit | 3d36cdfd6f71b0ed7c152003acf91e8432b78461 (patch) | |
tree | 6f30eb2b7f2f25087337f67929394e09b60bc997 /Makefile.dg | |
parent | 2a55edcc40372403fb2de8ed20ed5c44464d416e (diff) |
WIPspeed
Diffstat (limited to 'Makefile.dg')
-rw-r--r-- | Makefile.dg | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.dg b/Makefile.dg index 9d8cf09..eb693be 100644 --- a/Makefile.dg +++ b/Makefile.dg @@ -111,10 +111,12 @@ SRC = \ OBJ = $(patsubst %.c,%.o,$(patsubst %.cc,%.o,$(patsubst %.cpp,%.o,$(SRC)))) -CXXFLAGS = -DUI_X11 -O3 -g -Wall -Werror -std=c++11 -Idrumgizmo/getoptpp -Idrumgizmo/ -Idrumgizmo/hugin -Idrumgizmo/plugingui/ -Idrumgizmo/src/ -Idrumgizmo/zita-resampler/libs -Idrumgizmo/pugixml/src -CFLAGS = -O3 -g -Wall -Werror +CXXFLAGS = -MMD -DUI_X11 -O3 -g -Wall -std=c++11 -Idrumgizmo/getoptpp -Idrumgizmo/ -Idrumgizmo/hugin -Idrumgizmo/plugingui/ -Idrumgizmo/src/ -Idrumgizmo/zita-resampler/libs -Idrumgizmo/pugixml/src +CFLAGS = -MMD -O3 -g -Wall -Werror LDFLAGS = -lm -lX11 -lXext -pthread -lsndfile +DEPS := $(OBJ:.o=.d) + %.o: %.c gcc $(CFLAGS) -c $< -o $@ @@ -126,3 +128,5 @@ plugingui: $(OBJ) clean: rm -f plugingui $(OBJ) + +-include $(DEPS)
\ No newline at end of file |