Makefile 115 B

12345678910
  1. include ../config.mk
  2. all: $(patsubst %.c,%.o,$(wildcard *.c))
  3. %.o: %.c
  4. $(CC) $(CFLAGS) -c $<
  5. clean:
  6. rm -f *.o