You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
601 B

OBJS = xfce.o central.o side.o dnd.o \
popup.o item.o module.o icons.o wmhints.o \
builtins.o move.o dialogs.o callbacks.o settings.o
PROG = xfce2
CFLAGS = -Wall -DGTK_DISABLE_DEPRECATED -g
GTK_CFLAGS = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libxml-2.0`
GTK_LIBS = `pkg-config --libs gtk+-2.0 gmodule-2.0 libxml-2.0`
COMPILE = $(CC) $(CFLAGS) $(GTK_CFLAGS) -c
subdirs = plugins
all: $(PROG) sub
$(PROG): $(OBJS)
$(CC) $(GTK_LIBS) -o $(PROG) $(OBJS)
sub:
(cd plugins; make)
%.o: %.c %.h xfce.h
$(COMPILE) -o $@ $<
clean:
-rm $(OBJS) $(PROG)
(cd plugins; make clean)