alec101 / OSInteraction

Multi-monitors / HID handling / everything you need for an OpenGL application or game under Windows/Mac/Linux
23 stars 3 forks source link

Makefile and Examples #4

Closed ghost closed 9 years ago

ghost commented 9 years ago

Not sure if its a good ideia to have a makefile for every example, maybe a make examples on the root directory works better.

Anyway, everything should be working.

i am using ARCH :=$(shell $(CC) -dumpmachine) to get current system ARCH, seems to be working everywhere.

ghost commented 9 years ago

Also, forgot to mention i think. Linux libs should be named like this lib{PROJECT-NAME}.so and lib{PROJECT-NAME}.a for debugging its normally lib{PROJECT-NAME}-dbg.so or lib{PROJECT-NAME}-d.so