wmbattery: use CPPFLAGS for defining preprocessor macros.
[dockapps.git] / wmglobe / Makefile
blob17dd01d5f9941e87d87ca93cf9e803b949c109af
1 INC = -I/usr/X11R6/include
2 LIBS = -lXext -lX11 -lm -L/usr/X11R6/lib \
3 -ltiff -lXpm -lpng -lz -ljpeg -lungif -lwraster
4 OBJS = src/wmglobe.o src/rend.o src/wmgutil.o \
5 src/sunpos.o src/myconvert.o src/mycontext.o
8 .c.o :
9 gcc -c -O2 -Wall $(INC) $< -o $*.o
11 all: wmglobe
13 clean:
14 rm -f src/*.o wmglobe
16 wmglobe : $(OBJS)
17 gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
18 strip wmglobe
20 install :
21 install wmglobe /usr/local/bin
22 install wmglobe.1 /usr/local/man/man1