diff Makefile.gen @ 2136:bc2ccc575430

Clean up one build rule a bit.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 29 May 2019 09:11:46 +0300
parents e900e6e2593d
children 7d75e40dc0bc
line wrap: on
line diff
--- a/Makefile.gen	Wed May 29 06:14:46 2019 +0300
+++ b/Makefile.gen	Wed May 29 09:11:46 2019 +0300
@@ -396,9 +396,8 @@
 	@$(DATA2INC_BIN) -q -C -n engineSetupMenuBar -t Uint8 $< $@ > /dev/null
 
 
-$(OBJPATH)dmsimple.o: $(DMLIB_SRC)dmsimple.c $(DMLIB_SRC)dmengine.h \
-		$(DMLIB_SRC)setupmenubar.h $(DMLIB_SRC)setupfont.h \
-		$(DMLIB_SRC)setupimage.h $(DMLIB_SRC)dmsimple.c
+$(OBJPATH)dmsimple.o: $(addprefix $(DMLIB_SRC), dmsimple.c dmengine.h \
+		setupmenubar.h setupfont.h setupimage.h dmsimple.c)
 	$(COMPILE_OBJ)