Makefile 268 B

1234567891011121314151617181920
  1. TARGET = play_ip
  2. Dir2store = ${TARGET_DIR}/usr/bin
  3. CFLAGS =
  4. ${TARGET}:*.o
  5. ${CC} -o $@ ${CFLAGS} $<
  6. %.o:%.c
  7. ${CC} -c $<
  8. .PHONY:clean install uninstall
  9. clean:
  10. rm -f *.o ${TARGET}
  11. install:
  12. # cp -f ${TARGET} ${Dir2store}
  13. uninstall:
  14. rm -f ${Dir2store}/${TARGET}