Makefile 202 B

123456789101112131415
  1. # Make CServ
  2. CC=gcc
  3. EXECUTABLE=cserv
  4. OBJECTS=src/irc.o src/functions.o src/main.o
  5. FLAGS=-Wall
  6. all: main
  7. main: $(OBJECTS)
  8. $(CC) $(OBJECTS) -o $(EXECUTABLE) $(FLAGS)
  9. clean:
  10. rm src/*o $(EXECUTABLE)