update gitignore, fix makefile
Build/Publish XBPS / build-and-publish (push) Failing after 6s Details

This commit is contained in:
Luca Bilke 2024-05-19 00:21:28 +02:00
parent f366efbece
commit b4eaf3fa85
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
2 changed files with 24 additions and 4 deletions

20
.gitignore vendored
View File

@ -1,3 +1,23 @@
dwm-final
dwm-dev-1.0.0_1.x86_64.xbps
pkg/usr
patch
LICENSE
README
config.def.h
config.h
config.mk
drw.c
drw.h
dwm.1
dwm.c
dwm.c.orig
dwm.desktop
dwm.png
transient.c
util.c
util.h
util.o
drw.o
dwm.o
dwm

View File

@ -9,20 +9,20 @@ OBJ = ${SRC:.c=.o}
all: dwm
*.c: buildroot
*.h: buildroot
.c.o:
${CC} -c ${CFLAGS} $<
dwm.o: buildroot config.h
config.mk:
cp config/config.mk config.mk
config.h:
cp config/config.h config.h
${SRC}: buildroot
${OBJ}: config.h config.mk
dwm: ${OBJ} buildroot
dwm: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
clean: