dockapps/wmglobe/Makefile

23 lines
469 B
Makefile
Raw Normal View History

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 \
2018-01-08 13:28:15 +00:00
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
2018-01-08 13:28:15 +00:00
wmglobe : $(OBJS)
gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
2018-01-08 13:28:15 +00:00
strip wmglobe
2018-01-08 13:28:15 +00:00
install :
install wmglobe /usr/local/bin
install wmglobe.1 /usr/local/man/man1