bubblemon-1.46-asneeded.patch 509 B

12345678910111213141516171819202122232425262728293031
  1. --- Makefile
  2. +++ Makefile
  3. @@ -32,14 +32,12 @@
  4. OBJS = bubblemon.o
  5. BUBBLEMON = bubblemon
  6. -LDFLAGS = -shared -Wl
  7. -
  8. STRIP = strip
  9. -CC = gcc
  10. +CC ?= gcc
  11. INSTALLMAN = -m 644
  12. -
  13. +LIBS = -lX11
  14. # special things for Linux
  15. ifeq ($(OS), Linux)
  16. @@ -91,8 +89,8 @@
  17. all: $(BUBBLEMON)
  18. bubblemon: clean_obj
  19. - $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
  20. - $(LIBS) $(GTK2_LIBS) $(SRCS)
  21. + $(CC) $(LDFLAGS) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEMON) \
  22. + $(SRCS) $(LIBS) $(GTK2_LIBS)
  23. clean_obj:
  24. rm -rf *.o