Commit edc0ebe7 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Fix some build flag inheretence problems

parent 2c262d84
......@@ -131,7 +131,7 @@ $(eval $(call SUBDIR,console))
console: $(TARGETS)
CFLAGS := -Icommon -Icommon/include -Icontroller -Iconsole/console -Iinclude
LDFLAGS := -Lcommon/lib -Lcontroller/lib -Lconsole/console/lib -Llib
LDFLAGS := -Lcommon/lib -Lcontroller/lib -Lconsole/console/lib -Llib -Wl,--as-needed
VPATH += common/lib controller/lib console/console/lib lib
......
......@@ -8,9 +8,9 @@ ARCHSRCS := $(DIR)/command.c $(DIR)/command_tcp.c
ARCHOBJS := $(ARCHSRCS:.c=.lo)
$(ARCHOBJS) += -Wall -O3 -fPIC
$(LIBDIR)/libcommand.la: libutils.la liblog.la
$(LIBDIR)/libcommand.la: CFLAGS += -Wall -O3 -fPIC
$(LIBDIR)/libcommand.la: LDFLAGS += -lutils -lm -llog
$(LIBDIR)/libcommand.la_LDFLAGS += -lutils -lm -llog
$(LIBDIR)/libcommand.la: $(ARCHOBJS)
$(LIB_LINK)
......@@ -18,7 +18,7 @@ COMMAND_LIST_SRCS := $(DIR)/command_list.c
COMMAND_LIST_OBJS := $(COMMAND_LIST_SRCS:.c=.o)
$(DIR)/command_list: libcommand.la
$(DIR)/command_list: LDFLAGS += -lcommand
$(DIR)/command_list_LDFLAGS += -lcommand
$(DIR)/command_list: $(COMMAND_LIST_OBJS)
SRCS += $(ARCHSRCS) $(COMMAND_LIST_SRCS)
......
......@@ -6,9 +6,9 @@ SRCS+=$(ARCHSRCS)
TARGETS += $(LIBDIR)/liblog.la
$(ARCHOBJS): CFLAGS += -Wall -O3 -fPIC
$(LIBDIR)/liblog.la: libutils.la
$(LIBDIR)/liblog.la: LDFLAGS += -lutils
$(LIBDIR)/liblog.la: CFLAGS += -Wall -O3 -fPIC
$(LIBDIR)/liblog.la_LDFLAGS += -lutils
$(LIBDIR)/liblog.la: $(ARCHOBJS)
$(LIB_LINK)
......
......@@ -10,40 +10,40 @@ ARCHSRCS := $(DIR)/trace.c $(DIR)/trace_tcp.c
ARCHOBJS := $(ARCHSRCS:.c=.lo)
$(ARCHOBJS): CFLAGS += -Wall -O3 -fPIC
$(LIBDIR)/libtrace.la: libutils.la liblog.la
$(LIBDIR)/libtrace.la: CFLAGS += -Wall -O3 -fPIC
$(LIBDIR)/libtrace.la: LDFLAGS += -lutils -llog -lm
$(LIBDIR)/libtrace.la_LDFLAGS += -lutils -llog -lm
$(LIBDIR)/libtrace.la: $(ARCHOBJS)
$(LIB_LINK)
TRACE_DUMP_SRCS := $(DIR)/trace_dump.c
TRACE_DUMP_OBJS := $(TRACE_DUMP_SRCS:.c=.o)
$(DIR)/trace_dump: libtrace.la
$(DIR)/trace_dump: LDFLAGS += -ltrace
$(DIR)/trace_dump_LDFLAGS += -ltrace
$(DIR)/trace_dump: $(TRACE_DUMP_OBJS)
TRACE_DUMPDIFF_SRCS := $(DIR)/trace_dumpdiff.c
TRACE_DUMPDIFF_OBJS := $(TRACE_DUMPDIFF_SRCS:.c=.o)
$(DIR)/trace_dumpdiff: libtrace.la
$(DIR)/trace_dumpdiff: LDFLAGS += -ltrace
$(DIR)/trace_dumpdiff_LDFLAGS += -ltrace
$(DIR)/trace_dumpdiff: $(TRACE_DUMPDIFF_OBJS)
TRACE_FFT_SRCS := $(DIR)/trace_fft.c
TRACE_FFT_OBJS := $(TRACE_FFT_SRCS:.c=.o)
$(DIR)/trace_fft: libtrace.la
$(DIR)/trace_fft: LDFLAGS += -ltrace -lm -lfftw3
$(DIR)/trace_fft_LDFLAGS += -ltrace -lm -lfftw3
$(DIR)/trace_fft: $(TRACE_FFT_OBJS)
TRACE_LIST_SRCS := $(DIR)/trace_list.c
TRACE_LIST_OBJS := $(TRACE_LIST_SRCS:.c=.o)
$(DIR)/trace_list: libtrace.la
$(DIR)/trace_list: LDFLAGS += -ltrace
$(DIR)/trace_list_LDFLAGS += -ltrace
$(DIR)/trace_list: $(TRACE_LIST_OBJS)
TRACE_VIEW_SRCS := $(DIR)/trace_view.c
TRACE_VIEW_OBJS := $(TRACE_VIEW_SRCS:.c=.o)
$(DIR)/trace_view: libtrace.la
$(DIR)/trace_view: LDFLAGS += -ltrace
$(DIR)/trace_view_LDFLAGS += -ltrace
$(DIR)/trace_view: $(TRACE_VIEW_OBJS)
TARGETS += $(TRACE_TARGETS)
......
......@@ -6,7 +6,7 @@ TARGETS += $(DIR)/weather_test
WEATHER_SRCS := $(DIR)/weather_test.c $(DIR)/weather.c $(DIR)/tcp_connect.c
WEATHER_OBJS := $(WEATHER_SRCS:.c=.o)
$(DIR)/weather_test: LDFLAGS += -lpthread
$(DIR)/weather_test_LDFLAGS += -lpthread
$(DIR)/weather_test: $(WEATHER_OBJS)
ARCHSRCS := $(DIR)/tcp_connect.c \
......@@ -27,8 +27,8 @@ LU_LDFLAGS := -lpthread -lrt -lm
LU_CFLAGS += `pkg-config --cflags glib-2.0`
LU_LDFLAGS += `pkg-config --libs glib-2.0`
$(LIBDIR)/libutils.la: CFLAGS += $(LU_CFLAGS)
$(LIBDIR)/libutils.la: LDFLAGS += $(LU_LDFLAGS)
$(ARCHOBJS): CFLAGS += $(LU_CFLAGS)
$(LIBDIR)/libutils.la_LDFLAGS += $(LU_LDFLAGS)
$(LIBDIR)/libutils.la: $(ARCHOBJS)
$(LIB_LINK)
......
......@@ -43,8 +43,8 @@ AALIB_SRCS := \
$(DIR)/aa.c
AALIB_OBJS := $(AALIB_SRCS:.c=.lo)
$(LIBDIR)/libaa.la: CFLAGS += -Wall -O2
$(LIBDIR)/libaa.la: LDFLAGS += -lm
$(AALIB_OBJS): CFLAGS += -Wall -O2
$(LIBDIR)/libaa.la_LDFLAGS += -lm
$(LIBDIR)/libaa.la: $(AALIB_OBJS)
$(LIB_LINK)
......
......@@ -29,110 +29,110 @@ CONSOLE_TARGETS += $(DIR)/console_sattracker
CONSOLE_SRCS :=
$(DIR)/await_controller: CFLAGS += -Wall -O3
$(DIR)/await_controller: LDFLAGS += -lutils
$(DIR)/await_controller.o: CFLAGS += -Wall -O3
$(DIR)/await_controller_LDFLAGS += -lutils
$(DIR)/await_controller: libutils.la
$(DIR)/await_controller: $(DIR)/await_controller.o
CONSOLE_SRCS += $(DIR)/await_controller.c
$(DIR)/console_joystick: CFLAGS += -Wall -O3
$(DIR)/console_joystick: LDFLAGS += -lcommand
$(DIR)/console_joystick.o: CFLAGS += -Wall -O3
$(DIR)/console_joystick_LDFLAGS += -lcommand
$(DIR)/console_joystick: libcommand.la
$(DIR)/console_joystick: $(DIR)/console_joystick.o
CONSOLE_SRCS += $(DIR)/console_joystick.c
$(DIR)/command_shell: CFLAGS += -Wall -O3
$(DIR)/command_shell: LDFLAGS += -lcommand
$(DIR)/command_shell.o: CFLAGS += -Wall -O3
$(DIR)/command_shell_LDFLAGS += -lcommand
$(DIR)/command_shell: libcommand.la
$(DIR)/command_shell: $(DIR)/command_shell.o
CONSOLE_SRCS += $(DIR)/command_shell.c
$(DIR)/console_moontracker: CFLAGS += -Wall -O3
$(DIR)/console_moontracker: LDFLAGS += -lcommand -lm -laa
$(DIR)/console_moontracker.o: CFLAGS += -Wall -O3
$(DIR)/console_moontracker_LDFLAGS += -lcommand -lm -laa
$(DIR)/console_moontracker: libcommand.la libaa.la
$(DIR)/console_moontracker: $(DIR)/console_moontracker.o
CONSOLE_SRCS += $(DIR)/console_moontracker.c
$(DIR)/console_j2000tracker: CFLAGS += -Wall -O3
$(DIR)/console_j2000tracker: LDFLAGS += -lcommand -lm -lnova -ltrace
$(DIR)/console_j2000tracker.o: CFLAGS += -Wall -O3
$(DIR)/console_j2000tracker_LDFLAGS += -lcommand -lm -lnova -ltrace
$(DIR)/console_j2000tracker: libcommand.la libtrace.la libnova.la
$(DIR)/console_j2000tracker: $(DIR)/console_j2000tracker.o
CONSOLE_SRCS += $(DIR)/console_j2000tracker.c
$(DIR)/console_j2000tracer: CFLAGS += -Wall -O3
$(DIR)/console_j2000tracer: LDFLAGS += -lm -lnova -lutils
$(DIR)/console_j2000tracer.o: CFLAGS += -Wall -O3
$(DIR)/console_j2000tracer_LDFLAGS += -lm -lnova -lutils
$(DIR)/console_j2000tracer: libutils.la libnova.la
$(DIR)/console_j2000tracer: $(DIR)/console_j2000tracer.o
CONSOLE_SRCS += $(DIR)/console_j2000tracer.c
$(DIR)/console_j2000_indi: CFLAGS += -Wall -O3
$(DIR)/console_j2000_indi: LDFLAGS += -lm -lindi -lindidriver -lnova -lutils
$(DIR)/console_j2000_indi.o: CFLAGS += -Wall -O3
$(DIR)/console_j2000_indi_LDFLAGS += -lm -lindi -lindidriver -lnova -lutils
$(DIR)/console_j2000_indi: libutils.la libnova.la
$(DIR)/console_j2000_indi: $(DIR)/console_j2000_indi.o
CONSOLE_SRCS += $(DIR)/console_j2000_indi.c
$(DIR)/console_azel: CFLAGS += -Wall -O3
$(DIR)/console_azel: LDFLAGS += -lcommand
$(DIR)/console_azel.o: CFLAGS += -Wall -O3
$(DIR)/console_azel_LDFLAGS += -lcommand
$(DIR)/console_azel: libcommand.la
$(DIR)/console_azel: $(DIR)/console_azel.o
CONSOLE_SRCS += $(DIR)/console_azel.c
$(DIR)/console_manual: CFLAGS += -Wall -O3
$(DIR)/console_manual: LDFLAGS += -lcommand
$(DIR)/console_manual.o: CFLAGS += -Wall -O3
$(DIR)/console_manual_LDFLAGS += -lcommand
$(DIR)/console_manual: libcommand.la
$(DIR)/console_manual: $(DIR)/console_manual.o
CONSOLE_SRCS += $(DIR)/console_manual.c
$(DIR)/console_suntracker: CFLAGS += -Wall -O3
$(DIR)/console_suntracker: LDFLAGS += -lcommand -lm -laa
$(DIR)/console_suntracker.o: CFLAGS += -Wall -O3
$(DIR)/console_suntracker_LDFLAGS += -lcommand -lm -laa
$(DIR)/console_suntracker: libcommand.la libaa.la
$(DIR)/console_suntracker: $(DIR)/console_suntracker.o
CONSOLE_SRCS += $(DIR)/console_suntracker.c
$(DIR)/console_idle: CFLAGS += -Wall -O3
$(DIR)/console_idle: LDFLAGS += -lcommand
$(DIR)/console_idle.o: CFLAGS += -Wall -O3
$(DIR)/console_idle_LDFLAGS += -lcommand
$(DIR)/console_idle: libcommand.la
$(DIR)/console_idle: $(DIR)/console_idle.o
CONSOLE_SRCS += $(DIR)/console_idle.c
$(DIR)/console_weather: CFLAGS += -Wall -O3
$(DIR)/console_weather: LDFLAGS += -lutils
$(DIR)/console_weather.o: CFLAGS += -Wall -O3
$(DIR)/console_weather_LDFLAGS += -lutils
$(DIR)/console_weather: libutils.la
$(DIR)/console_weather: $(DIR)/console_weather.o
CONSOLE_SRCS += $(DIR)/console_weather.c
$(DIR)/console_dt_model: CFLAGS += -Wall -O3 `pkg-config --cflags glib-2.0`
$(DIR)/console_dt_model: LDFLAGS += `pkg-config --libs glib-2.0` -llog -lutils
$(DIR)/console_dt_model.o: CFLAGS += -Wall -O3 `pkg-config --cflags glib-2.0`
$(DIR)/console_dt_model_LDFLAGS += `pkg-config --libs glib-2.0` -llog -lutils
$(DIR)/console_dt_model: liblog.la libutils.la
$(DIR)/console_dt_model: $(DIR)/console_dt_model.o
CONSOLE_SRCS += $(DIR)/console_dt_model.c
$(DIR)/trace_proxy: CFLAGS += -Wall -O3
$(DIR)/trace_proxy: LDFLAGS += -ltrace
$(DIR)/trace_proxy.o: CFLAGS += -Wall -O3
$(DIR)/trace_proxy_LDFLAGS += -ltrace
$(DIR)/trace_proxy: libtrace.la
$(DIR)/trace_proxy: $(DIR)/trace_proxy.o
CONSOLE_SRCS += $(DIR)/trace_proxy.c
$(DIR)/trace_log: CFLAGS += -Wall -O3
$(DIR)/trace_log: LDFLAGS += -lutils
$(DIR)/trace_log.o: CFLAGS += -Wall -O3
$(DIR)/trace_log_LDFLAGS += -lutils
$(DIR)/trace_log: libutils.la
$(DIR)/trace_log: $(DIR)/trace_log.o
CONSOLE_SRCS += $(DIR)/trace_log.c
$(DIR)/log_proxy: CFLAGS += -Wall -O3
$(DIR)/log_proxy: LDFLAGS += -llog
$(DIR)/log_proxy.o: CFLAGS += -Wall -O3
$(DIR)/log_proxy_LDFLAGS += -llog
$(DIR)/log_proxy: liblog.la
$(DIR)/log_proxy: $(DIR)/log_proxy.o
CONSOLE_SRCS += $(DIR)/log_proxy.c
$(DIR)/spg_auth: CFLAGS += -Wall -O3
$(DIR)/spg_auth: LDFLAGS += -lcommand
$(DIR)/spg_auth.o: CFLAGS += -Wall -O3
$(DIR)/spg_auth_LDFLAGS += -lcommand
$(DIR)/spg_auth: libcommand.la
$(DIR)/spg_auth: $(DIR)/spg_auth.o
CONSOLE_SRCS += $(DIR)/spg_auth.c
$(DIR)/console_sattracker: CFLAGS += -Wall -O3
$(DIR)/console_sattracker: LDFLAGS += -lcommand -lnova -lpredict
$(DIR)/console_sattracker.o: CFLAGS += -Wall -O3
$(DIR)/console_sattracker_LDFLAGS += -lcommand -lnova -lpredict
$(DIR)/console_sattracker: libcommand.la libpredict.la libnova.la
$(DIR)/console_sattracker: $(DIR)/console_sattracker.o
CONSOLE_SRCS += $(DIR)/console_sattracker.c
......
......@@ -3,9 +3,9 @@ MOD_WEBSOCKET_DT_TARGETS := $(DIR)/mod_websocket_dt.so
MOD_WEBSOCKET_DT_SRCS=$(DIR)/mod_websocket_dt.c
MOD_WEBSOCKET_DT_OBJS=$(MOD_WEBSOCKET_DT_SRCS:.c=.lo)
$(DIR)/mod_websocket_dt.so: LDFLAGS += -module -rpath /usr/lib/apache2/modules -ltrace -lutils -Xcompiler -shared
$(MOD_WEBSOCKET_DT_OBJS): CFLAGS += -Wall -g
$(DIR)/mod_websocket_dt.so_LDFLAGS += -module -rpath /usr/lib/apache2/modules -ltrace -lutils -Xcompiler -shared
$(DIR)/mod_websocket_dt.so: libtrace.la libutils.la
$(DIR)/mod_websocket_dt.so: CFLAGS += -Wall -g
$(DIR)/mod_websocket_dt.so: $(MOD_WEBSOCKET_DT_OBJS)
SRCS += $(MOD_WEBSOCKET_DT_SRCS)
......
......@@ -11,25 +11,25 @@ PREDICTLIB_SRCS := \
$(DIR)/predictlib.c
PREDICTLIB_OBJS := $(PREDICTLIB_SRCS:.c=.lo)
$(LIBDIR)/libpredict.la: CFLAGS += -Wall
$(LIBDIR)/libpredict.la: LDFLAGS += -lm
$(PREDICTLIB_OBJS): CFLAGS += -Wall
$(LIBDIR)/libpredict.la_LDFLAGS += -lm
$(LIBDIR)/libpredict.la: $(PREDICTLIB_OBJS)
$(LIB_LINK)
PREDICTLIB_TARGETS += $(DIR)/test-001
$(DIR)/test-001: LDFLAGS += -lpredict
$(DIR)/test-001_LDFLAGS += -lpredict
$(DIR)/test-001: libpredict.la
$(DIR)/test-001: $(DIR)/test-001.o
PREDICTLIB_SRCS += $(DIR)test-001.c
PREDICTLIB_TARGETS += $(DIR)/test-002
$(DIR)/test-002: LDFLAGS += -lpredict
$(DIR)/test-002_LDFLAGS += -lpredict
$(DIR)/test-002: libpredict.la
$(DIR)/test-002: $(DIR)/test-002.o
PREDICTLIB_SRCS += $(DIR)test-002.c
PREDICTLIB_TARGETS += $(DIR)/test-003
$(DIR)/test-003: LDFLAGS += -lpredict
$(DIR)/test-003_LDFLAGS += -lpredict
$(DIR)/test-003: libpredict.la
$(DIR)/test-003: $(DIR)/test-003.o
PREDICTLIB_SRCS += $(DIR)test-003.c
......
......@@ -55,8 +55,8 @@ BLOCK_OBJSC := $(BLOCK_SRCS:.c=.lo)
BLOCK_OBJS := $(BLOCK_OBJSC:.il=.il2c.lo)
$(LIBDIR)/libblock.la: LDFLAGS += -lm
$(LIBDIR)/libblock.la: CFLAGS += -O3 -Wall
$(BLOCK_OBJS): CFLAGS += -O3 -Wall
$(LIBDIR)/libblock.la_LDFLAGS += -lm
$(LIBDIR)/libblock.la: $(BLOCK_OBJS)
$(LIB_LINK)
......
......@@ -19,7 +19,7 @@ $(DIR)/il2c.c: $(DIR)/il.tab.h
IL2C_OBJS := $(IL2C_SRCS:.c=.o)
$(DIR)/il2c: CFLAGS += -O3 -Wall
$(IL2C_OBJS): CFLAGS += -O3 -Wall
$(DIR)/il2c: $(IL2C_OBJS)
......
......@@ -11,7 +11,7 @@ BLOCKS_OBJSC := $(BLOCKS_SRCS:.c=.o)
BLOCKS_OBJS := $(BLOCKS_OBJSC:.il=.il2c.o)
$(DIR)/blocks: CFLAGS += -g -O0
$(BLOCKS_OBJS): CFLAGS += -g -O0
$(DIR)/blocks: $(BLOCKS_OBJS)
......
......@@ -16,9 +16,9 @@ CONTROLLER_SRCS= \
CONTROLLER_OBJS := $(CONTROLLER_SRCS:.c=.lo)
$(CONTROLLER_OBJS): CFLAGS += -O3 -Wall
$(LIBDIR)/libcontroller.la: libshell.la libcommand.la libtrace.la
$(LIBDIR)/libcontroller.la: LDFLAGS += -lshell -ldl -lpthread -lrt -lcommand -ltrace
$(LIBDIR)/libcontroller.la: CFLAGS += -O3 -Wall
$(LIBDIR)/libcontroller.la_LDFLAGS += -lshell -ldl -lpthread -lrt -lcommand -ltrace
$(LIBDIR)/libcontroller.la: $(CONTROLLER_OBJS)
$(LIB_LINK)
......
......@@ -9,9 +9,9 @@ DT_AZIMUTH_SRCS = \
DT_AZIMUTH_OBJS := $(DT_AZIMUTH_SRCS:.c=.lo)
$(DT_AZIMUTH_OBJS): CFLAGS += -O3 -Wall
$(LIBDIR)/libdt_azimuth.la: libcontroller.la liblog.la
$(LIBDIR)/libdt_azimuth.la: LDFLAGS += -lcontroller -llog
$(LIBDIR)/libdt_azimuth.la: CFLAGS += -O3 -Wall
$(LIBDIR)/libdt_azimuth.la_LDFLAGS += -lcontroller -llog
$(LIBDIR)/libdt_azimuth.la: $(DT_AZIMUTH_OBJS)
$(LIB_LINK)
......
......@@ -10,9 +10,9 @@ DT_ELEVATION_SRCS = \
DT_ELEVATION_OBJS := $(DT_ELEVATION_SRCS:.c=.lo)
$(DT_ELEVATION_OBJS): CFLAGS += -O3 -Wall
$(LIBDIR)/libdt_elevation.la: libcontroller.la liblog.la
$(LIBDIR)/libdt_elevation.la: LDFLAGS += -lcontroller -llog
$(LIBDIR)/libdt_elevation.la: CFLAGS += -O3 -Wall
$(LIBDIR)/libdt_elevation.la_LDFLAGS += -lcontroller -llog
$(LIBDIR)/libdt_elevation.la: $(DT_ELEVATION_OBJS)
$(LIB_LINK)
......
......@@ -33,9 +33,9 @@ endif
EC_OBJS := $(EC_SRCS:.c=.lo)
$(EC_OBJS): CFLAGS += -O3 -Wall
$(LIBDIR)/libethercat.la: libcontroller.la liblog.la
$(LIBDIR)/libethercat.la: LDFLAGS += -lm -lpthread -lcontroller -llog
$(LIBDIR)/libethercat.la: CFLAGS += -O3 -Wall
$(LIBDIR)/libethercat.la_LDFLAGS += -lm -lpthread -lcontroller -llog
$(LIBDIR)/libethercat.la: $(EC_OBJS)
$(LIB_LINK)
......@@ -45,9 +45,9 @@ EC_TARGETS += $(DIR)/ec_enum
EC_ENUM_SRCS = $(DIR)/ec_enum.c
EC_ENUM_OBJS := $(EC_ENUM_SRCS:.c=.o)
$(EC_ENUM_SRCS): CFLAGS += -O3 -Wall
$(DIR)/ec_enum: libethercat.la
$(DIR)/ec_enum: CFLAGS += -O3 -Wall
$(DIR)/ec_enum: LDFLAGS += -lethercat
$(DIR)/ec_enum_LDFLAGS += -lethercat
$(DIR)/ec_enum: $(EC_ENUM_OBJS)
TARGETS += $(EC_TARGETS)
......
......@@ -5,9 +5,9 @@ SHELL_SRCS= $(DIR)/shell.c
SHELL_OBJS := $(SHELL_SRCS:.c=.lo)
$(SHELL_OBJS): CFLAGS += -O3 -Wall
$(LIBDIR)/libshell.la: liblog.la
$(LIBDIR)/libshell.la: LDFLAGS += -llog -lpthread
$(LIBDIR)/libshell.la: CFLAGS += -O3 -Wall
$(LIBDIR)/libshell.la_LDFLAGS += -llog -lpthread
$(LIBDIR)/libshell.la: $(SHELL_OBJS)
$(LIB_LINK)
......
......@@ -8,13 +8,13 @@ $(DIR)/iir_test: \
libblock.la \
libethercat.la \
liblog.la
$(DIR)/iir_test: CFLAGS += -Wall -g -O0
$(DIR)/iir_test: LDFLAGS += \
$(DIR)/iir_test_LDFLAGS += \
-lcontroller \
-lblock \
-lethercat \
-llog
$(DIR)/iir_test: $(TEST_OBJS)
$(TEST_OBJS): CFLAGS += -Wall -g -O0
SRCS += $(TEST_SRCS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment