# fss-0002

main:
  sed -i -e "s|-Os|$CFLAGS|g" Makefile */Makefile */*/Makefile
  make LIBS='-llshw -lm -lstdc++' PREFIX=/ SBINDIR=/sbin
  cp -v src/lshw /bin/
  cd src/gui
  make LIBS='-L../core -llshw $(GTKLIBS) -lm -lstdc++' PREFIX=/ SBINDIR=/sbin
  cp -v gtk-lshw /bin/
  chgrp e_hardware /bin/lshw /bin/gtk-lshw
  chmod o-rx /bin/lshw /bin/gtk-lshw
