move main.c and main.h to libs/sl as well
This commit is contained in:
parent
e012696695
commit
abb80ed8af
4
Makefile
4
Makefile
|
@ -6,7 +6,7 @@ include options.mk
|
|||
include host.mk
|
||||
include toggle.mk
|
||||
|
||||
SRC = libs/sl/draw.c spmenu.c main.c
|
||||
SRC = libs/sl/draw.c spmenu.c libs/sl/main.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
all: options spmenu
|
||||
|
@ -23,7 +23,7 @@ options:
|
|||
|
||||
$(OBJ): options.h options.mk libs/sl/draw.h
|
||||
|
||||
spmenu: spmenu.o libs/sl/draw.o main.o
|
||||
spmenu: spmenu.o libs/sl/draw.o libs/sl/main.o
|
||||
$(CC) -o $@ spmenu.o draw.o main.o $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <pango/pangoxft.h>
|
||||
|
||||
#include "draw.h"
|
||||
#include "../../main.h"
|
||||
#include "main.h"
|
||||
|
||||
Drw *
|
||||
drw_create(Display *dpy, int screen, Window root, unsigned int w, unsigned int h, Visual *visual, unsigned int depth, Colormap cmap)
|
||||
|
|
Loading…
Reference in a new issue