Add features to Makefile

make release - compiles with clang, uses more aggressive compilation
flags for errors/warnings.
CC=tcc/gcc/clang make - lets you select your wanted compiler.
This commit is contained in:
2026-06-28 18:03:05 -04:00
parent e8199f6d33
commit 1024a222be
17 changed files with 5126 additions and 9 deletions
+1
View File
@@ -4003,6 +4003,7 @@ int main(int argc, char *argv[]) {
break;
case 'v':
die("peachwm " VERSION);
break;
default:
goto usage;
}
+1 -1
View File
@@ -7,7 +7,7 @@
#include "util.h"
void
_Noreturn void
die(const char *fmt, ...) {
va_list ap;
+1 -1
View File
@@ -1,5 +1,5 @@
/* See LICENSE.dwm file for copyright and license details. */
void die(const char *fmt, ...);
_Noreturn void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
int fd_set_nonblock(int fd);