Newer
Older
x-wm / Makefile
OBJECTS = x-wm.o client.o
LIBS = -lX11 -L /usr/X11R6/lib

x-wm: $(OBJECTS)
	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)

%.o: %.c
	$(CC) $(CFLAGS) -c $*.c

install: x-wm
	strip $<
	cp $< /home/x-way/local/bin

clean:
	rm -f *.o