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.

makefile 341B

12345678910
  1. all install test: build/Makefile
  2. $(MAKE) -C build $@
  3. clean distclean:
  4. rm -rf build
  5. build/Makefile: CMakeLists.txt
  6. mkdir -p build
  7. cd build && cmake .. -DCMAKE_BUILD_TYPE=Release $(addprefix -DINIT_FLAVOR=,$(INIT_FLAVOR)) -DCMAKE_C_FLAGS="$(CFLAGS)" $(addprefix -DCMAKE_C_COMPILER=,$(CC)) $(addprefix -DCMAKE_INSTALL_PREFIX=,$(PREFIX))