FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
May 01, 2003

Linux and the iPAQ, Arm in Arm

(Page 6 of 9)
May 2003/Linux and the iPAQ, Arm in Arm/Listing 2

Listing 2: The makefile for this project requires special handling of the GTK+ libraries and the ARM compiler

CC=/usr/local/arm/2.95.3/arm-linux/bin/gcc
GTK-CONFIG=/usr/local/arm/2.95.3/arm-linux/bin/gtk-config

servo-controller: servo-controller.o dial.o numberpad.o 
  $(CC) servo-controller.o dial.o numberpad.o \
 -o servo-controller `$(GTK-CONFIG) --libs`

dial.o: dial.c dial.h
  $(CC) -c dial.c -o dial.o `$(GTK-CONFIG) --cflags`

numberpad.o: numberpad.c numberpad.h
 $(CC) -c numberpad.c -o numberpad.o `$(GTK-CONFIG) --cflags`

servo-controller.o: servo-controller.c
 $(CC) -c servo-controller.c -o servo-controller.o \
 `$(GTK-CONFIG) --cflags`

clean: 
 rm -f *.o servo-controller
Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next Page
RELATED ARTICLES
No Related Articles
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK