#CC= pgcc

SRCS = main.c lists.c draw.c events.c wininfo.c actions.c ewin.c loadcfg.c \
       root.c text.c status.c buttons.c
OBJS = main.o lists.o draw.o events.o wininfo.o actions.o ewin.o loadcfg.o \
       root.o text.o status.o buttons.o

CCOPTIONS = -O6

LOCAL_LIBRARIES = $(XLIB)
EXTRA_LOAD_FLAGS= -lIm -lm

enlightenment: $(OBJS) $(DEPLIBS)
	$(RM) $@
	$(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)

DependTarget()
CleanTarget()

.c.o:
	$(CC) $(CFLAGS) -c $< -o $@
	
clean::
	$(RM) enlightenment
