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.

20 lines
525 B

2 months ago
  1. # CXXFLAGS for debugging:
  2. # CXXFLAGS=-g -O1 -Wall
  3. # CXXFLAGS for production
  4. CXXFLAGS=-O3 -Wall
  5. cpphoaf : src/cpphoaf.cc include/cpphoafparser/*/*.hh
  6. $(CXX) $(CXXFLAGS) -I include --std=c++11 -o $@ $<
  7. # The example parsers
  8. basic_parser_1 : src/basic_parser_1.cc include/cpphoafparser/*/*.hh
  9. $(CXX) $(CXXFLAGS) -I include --std=c++11 -o $@ $<
  10. basic_parser_2 : src/basic_parser_2.cc include/cpphoafparser/*/*.hh
  11. $(CXX) $(CXXFLAGS) -I include --std=c++11 -o $@ $<
  12. .PHONY: all
  13. all: cpphoaf basic_parser_1 basic_parser_2