]> mj.ucw.cz Git - home-hw.git/commitdiff
Makefiles: Fix paths
authorMartin Mares <mj@ucw.cz>
Tue, 16 Jul 2019 19:10:28 +0000 (21:10 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 16 Jul 2019 19:10:28 +0000 (21:10 +0200)
aircon/firmware/Makefile
mk/bluepill.mk

index 1b9f247c502fa44af672fc4e69d681c5f4fafb2b..f22a1e7244c7c52aaef7482060b84169b7397cdc 100644 (file)
@@ -1,5 +1,5 @@
-ROOT=..
-BINARY=main
+ROOT=../..
+BINARY=aircon
 OBJS=main.o
 LIB_OBJS=util-debug.o ds18b20.o modbus.o
 
index 0ceab7de95b12144572407879ce7e2c9a419e42c..d6146abd72cfbeb495c1999dcfa7f4cf815d722b 100644 (file)
@@ -63,7 +63,7 @@ TGT_CFLAGS    += $(ARCH_FLAGS)
 TGT_CFLAGS     += -Wall -Wextra -Wshadow -Wimplicit-function-declaration
 TGT_CFLAGS     += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -Wno-parentheses
 TGT_CFLAGS     += -fno-common -ffunction-sections -fdata-sections
-TGT_CFLAGS     += -I. -I../lib
+TGT_CFLAGS     += -I. -I$(ROOT)/lib
 
 TGT_CPPFLAGS   += -MD