makefile 169 B

123456789101112131415
  1. #
  2. # Makefile for foo
  3. # This is an example makefile; modify as necessary
  4. #
  5. CC=g++
  6. CFLAGS=-g -Wall
  7. all: foo
  8. foo: foo.cpp
  9. $(CC) $(CFLAGS) -o foo foo.cpp
  10. clean:
  11. rm foo