You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -1,27 +1,28 @@
  4. CFLAGS=-Wall
  5. repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeaterutil.o repeaterevents.o
  6. - g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeaterutil.o repeaterevents.o
  7. + $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeaterutil.o repeaterevents.o $(LDFLAGS)
  8. repeater.o: repeater.cpp
  9. - g++ $(CFLAGS) -c repeater.cpp
  10. + $(CC) $(CFLAGS) -c repeater.cpp
  11. repeaterproc.o: repeaterproc.cpp
  12. - g++ $(CFLAGS) -c repeaterproc.cpp
  13. + $(CC) $(CFLAGS) -c repeaterproc.cpp
  14. openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
  15. - g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
  16. + $(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
  17. iniparser.o: iniparser.cpp
  18. - g++ $(CFLAGS) -c iniparser.cpp
  19. + $(CC) $(CFLAGS) -c iniparser.cpp
  20. readini.o: readini.cpp
  21. - g++ $(CFLAGS) -c readini.cpp
  22. + $(CC) $(CFLAGS) -c readini.cpp
  23. repeaterutil.o: repeaterutil.cpp
  24. - g++ $(CFLAGS) -c repeaterutil.cpp
  25. + $(CC) $(CFLAGS) -c repeaterutil.cpp
  26. repeaterevents.o: repeaterevents.cpp
  27. - g++ $(CFLAGS) -c repeaterevents.cpp
  28. + $(CC) $(CFLAGS) -c repeaterevents.cpp
  29. clean:
  30. rm -f *.o repeater
  31. +