diff options
author | MC <mc@hack.org> | 2010-06-29 14:49:54 +0200 |
---|---|---|
committer | MC <mc@brain.hack.org> | 2010-06-29 14:49:54 +0200 |
commit | 26520481727c8f7802dd4f9bf512d33f1fde9121 (patch) | |
tree | e790f5f483198b330834322d54347b50ada2bfd1 /Makefile | |
parent | 0bd9762dde189f4c79c2611b48013042223611ed (diff) | |
download | mcwm-26520481727c8f7802dd4f9bf512d33f1fde9121.zip |
Cleaner makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -10,12 +10,13 @@ LDFLAGS=-L/usr/local/lib -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom RM=/bin/rm PREFIX=/usr/local -TARGETS=mcwm list.o +TARGETS=mcwm +OBJS=mcwm.o list.o all: $(TARGETS) -mcwm: mcwm.o list.o config.h events.h Makefile - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ mcwm.c list.o +mcwm: $(OBJS) config.h events.h Makefile + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) mcwm-static: mcwm.c config.h $(CC) -o mcwm-static mcwm.c -static -g -std=c99 -Wall \ |