dockapps/wmglobe/Makefile
2018-01-08 16:08:44 -02:00

23 lines
469 B
Makefile

INC = -I/usr/X11R6/include
LIBS = -lXext -lX11 -lm -L/usr/X11R6/lib \
-ltiff -lXpm -lpng -lz -ljpeg -lungif -lwraster
OBJS = src/wmglobe.o src/rend.o src/wmgutil.o \
src/sunpos.o src/myconvert.o src/mycontext.o
.c.o :
gcc -c -O2 -Wall $(INC) $< -o $*.o
all: wmglobe
clean:
rm -f src/*.o wmglobe
wmglobe : $(OBJS)
gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
strip wmglobe
install :
install wmglobe /usr/local/bin
install wmglobe.1 /usr/local/man/man1