
SRCS = FvwmWinList.c List.c ButtonArray.c Mallocs.c Colors.c
OBJS = FvwmWinList.o List.o ButtonArray.o Mallocs.o Colors.o
PROG = FvwmWinList

CFLAGS = -O2 -m68030 -m68881
LFLAGS = -lX11 -L../../libs -lfvwmlib -lportlib -lsocket


$(PROG): $(SRCS) $(OBJS)
	$(CC) -o $@ $(OBJS) $(LFLAGS)
	strip $@
	chmod 755 $@
#	 ln -f $@ /usr/lib/X11/fvwm

#man:
#	 mnroff -mandoc $(PROG).man
#	 ln -f $(PROG).man.cat /usr/man/cat1/$(PROG).1
#	 ln -f $(PROG).man	  /usr/man/man1/$(PROG).1

clean:
	rm -f $(OBJS)

realclean:
	rm -f $(OBJS) $(PROG) $(PROG).man.cat

