Makefile 254 B

1234567891011121314151617181920
  1. STD=
  2. WARN= -Wall
  3. OPT= -Os
  4. R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
  5. R_LDFLAGS= $(LDFLAGS)
  6. DEBUG= -g
  7. R_CC=$(CC) $(R_CFLAGS)
  8. R_LD=$(CC) $(R_LDFLAGS)
  9. hdr_histogram.o: hdr_histogram.h hdr_histogram.c
  10. .c.o:
  11. $(R_CC) -c $<
  12. clean:
  13. rm -f *.o