Makefile.in 428 B

1234567891011121314151617181920212223242526272829
  1. PACKAGE_NAME=@PACKAGE_NAME@
  2. PACKAGE_VERSION=@PACKAGE_VERSION@
  3. CC=@CC@
  4. CFLAGS=@CFLAGS@ -O2
  5. AR=ar
  6. TEST_OBJ=main.o
  7. %.o: %.c
  8. $(CC) $(CFLAGS) -c $<
  9. all: bin lib
  10. bin: test
  11. lib: librdrand.a
  12. librdrand.a: rdrand.o
  13. $(AR) rcs $@ $?
  14. test: $(TEST_OBJ) librdrand.a
  15. $(CC) $(CFLAGS) -o $@ $(TEST_OBJ) -L. -lrdrand
  16. clean:
  17. rm -f *.o librdrand.a test
  18. distclean: clean
  19. rm -f Makefile config.guess config.status config.log config.h