From 912c3e0aaa7e752055c0198d5d410d5c9e7b00ea Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Fri, 27 Nov 2015 16:44:31 +0000 Subject: [PATCH] fixed Makefile error --- drivers/DAC-AD5791/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/DAC-AD5791/Makefile b/drivers/DAC-AD5791/Makefile index e6dfdca..8935917 100644 --- a/drivers/DAC-AD5791/Makefile +++ b/drivers/DAC-AD5791/Makefile @@ -5,7 +5,7 @@ LDFLAGS=-lexpat -lxerces-c .PHONY: all clean install -all: AD5791.o DAC_test.exe +all: AD5791.o ../../tools/add_endline.exe: ../../tools/add_endline.cpp $(CXX) $< -o $@ @@ -14,14 +14,9 @@ all: AD5791.o DAC_test.exe $(MAKE) -C ../../core core.a clean: ../../tools/add_endline.exe - for f in AD5791.cpp AD5791.h DAC_test.cpp; do $< $$f; done + for f in AD5791.cpp AD5791.h; do $< $$f; done rm -f *.exe *.o *~ core.* AD5791.o: AD5791.cpp AD5791.h $(CXX) -c $(CXXFLAGS) $(CXXCPPFLAGS) -o $@ $< -DAC_test.o: DAC_test.cpp - $(CXX) -c $(CXXFLAGS) $(CXXCPPFLAGS) -o $@ $< - -DAC_test.exe: DAC_test.o AD5791.o ../../core/core.a - $(CXX) -o $@ $^ $(LDFLAGS)