protohackers

My solutions to the protohackers.com challenges.
git clone git://henryandlizzy.uk/protohackers
Log | Files | Refs

makefile (467B)


      1 CXXFLAGS := -std=c++20 -fcolor-diagnostics -Wall -Wextra -Werror
      2 
      3 ALL :=	protohack-0 \
      4 	protohack-1 \
      5 	protohack-2 \
      6 	protohack-3 \
      7 	protohack-4 \
      8 
      9 all: $(ALL)
     10 
     11 protohack-0: protohack-0.cpp fd.hpp inet.hpp
     12 
     13 protohack-1: fd.hpp inet.hpp
     14 	${LINK.cc} -o protohack-1 protohack-1.cpp -lcrypto
     15 
     16 protohack-2: protohack-2.cpp fd.hpp inet.hpp
     17 
     18 protohack-3: protohack-3.cpp fd.hpp inet.hpp
     19 
     20 protohack-4: protohack-4.cpp fd.hpp inet.hpp
     21 
     22 clean:
     23 	rm -f $(ALL)
     24 
     25 .PHONY: all clean