You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
476B

  1. # SUPER crude makefiles for my standalone tests.
  2. # Basically use it as
  3. # make run T=docsaw
  4. # and that will build docsaw.cpp which depends on every header everywhere and voila.
  5. HDRS = $(wildcard ../src/*.hpp) $(wildcard *.hpp)
  6. CPPEXE = c++ -I../../../dep/include -L../../../dep/lib -lrtaudio -std=c++11 -stdlib=libc++ -Werror
  7. RUN_PREFIX = DYLD_LIBRARY_PATH=../../../dep/lib
  8. exe_%: %.cpp $(HDRS)
  9. $(CPPEXE) -o $@ $<
  10. run: exe_$(T)
  11. $(RUN_PREFIX) ./$<
  12. clean:
  13. rm -f exe*