fixed Makefile error
This commit is contained in:
parent
17ac75d98b
commit
912c3e0aaa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user