Perhaps we could add a define JOYSTICK if we found the include?

.if !exists(/usr/include/sys/joystick.h)
CXXFLAGS+=              -D$__JOYSTICK__
.endif

This will allow all the arch with the joystick support to compile with
this code and all other without this code.

Cheers,
-- 
Sylvestre Gallon (http://devsyl.blogspot.com)
PMBSD developer (http://pmbsd.sourceforge.net)
Embedded Software engineer @ Adeno Embedded
Fifth Grade Student @ Epitech & Researcher @ LSE
R&D @ Rathaxes (http://www.rathaxes.org)

Reply via email to