Update Makefile

This commit is contained in:
Night Kaly 2024-11-12 11:48:32 +00:00
parent 3fe500d761
commit 0ce56aff2e
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM

View file

@ -4,7 +4,6 @@
VERSION = 1.0 VERSION = 1.0
TARGET = ccc TARGET = ccc
MANPAGE = $(TARGET).1 MANPAGE = $(TARGET).1
CONF = config.h
PREFIX ?= /usr/local PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1 MANDIR = $(PREFIX)/share/man/man1
@ -15,7 +14,7 @@ CFLAGS = -Os -march=native -mtune=native -pipe -s -flto -std=c99 -pedantic -Wall
SRC = ccc.c util.c file.c icons.c SRC = ccc.c util.c file.c icons.c
$(TARGET): $(SRC) $(CONF) $(TARGET): $(SRC) config.h
$(CC) $(SRC) -o $@ $(CFLAGS) $(LDFLAGS) $(CC) $(SRC) -o $@ $(CFLAGS) $(LDFLAGS)
dist: dist: