#chemin compiler : CC=/sec/buildroot/output/host/usr/bin/arm-linux-gcc #chemin Lib SDL : CLSDL=/sec/buildroot/output/target/usr/lib #chemin Include SDL : CISDL=/sec/buildroot/output/build/sdl-1.2.15/include CISDLI=/sec/buildroot/output/build/sdl_image-1.2.12 CISDLT=/sec/buildroot/output/build/sdl_ttf-2.0.11 #chemin include TSLIB CITSLIB=/sec/buildroot/output/build/tslib-1.1 main_ts: main_ts.o touch_screen.o $(CC) -lts -o main_ts main_ts.o touch_screen.o main_ts.o: main_ts.c $(CC) -c -o main_ts.o main_ts.c touch_screen.o: touch_screen.c $(CC) -c -I$(CITSLIB) -o touch_screen.o touch_screen.c graph.o: graph.c $(CC) -c -I$(CISDL) -I$(CISDLI) -I$(CISDLT) -o graph.o graph.c