Makefile 266 B

123456789101112131415
  1. CXXFLAGS=-g -Wall
  2. all: toyserver toyclient
  3. toyserver: toyserver.o pirserver.o
  4. $(CXX) -Wall -o $@ $^
  5. toyclient: toyclient.o pirclient.o
  6. $(CXX) -Wall -o $@ $^
  7. clean:
  8. -rm toyserver.o pirserver.o toyclient.o pirclient.o
  9. veryclean: clean
  10. -rm toyserver toyclient