summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPer Cederqvist <ceder@lysator.liu.se>2013-02-08 11:46:32 +0100
committerMichael Cardell Widerkrantz <mc@hack.org>2013-02-08 11:46:32 +0100
commitb4bf9e183df0588177fffbadab4f20357523c5a7 (patch)
treee31dca0ae89bd67e3f86d14aec6230d6441ba54a /Makefile
parenteadc9667af405353bc3ae5e94d3f903dc4fc4c2d (diff)
downloadmcwm-b4bf9e183df0588177fffbadab4f20357523c5a7.zip
Linkfix. Accepted with changes. Thanks.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files 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