From b4bf9e183df0588177fffbadab4f20357523c5a7 Mon Sep 17 00:00:00 2001 From: Per Cederqvist Date: Fri, 8 Feb 2013 11:46:32 +0100 Subject: Linkfix. Accepted with changes. Thanks. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9d2f8c8..9fb3682 100644 --- a/Makefile +++ b/Makefile @@ -16,11 +16,14 @@ OBJS=mcwm.o list.o all: $(TARGETS) mcwm: $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) + $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $@ + +hidden: hidden.c + $(CC) $(CFLAGS) hidden.c $(LDFLAGS) -o $@ mcwm-static: $(OBJS) - $(CC) -o $@ $(OBJS) -static $(CFLAGS) $(LDFLAGS) \ - -lXau -lXdmcp + $(CC) $(OBJS) -static $(CFLAGS) $(LDFLAGS) \ + -lXau -lXdmcp -o $@ mcwm.o: mcwm.c events.h list.h config.h Makefile -- cgit v1.2.3