remove pkg-config in Makefile

This commit is contained in:
Night Kaly 2024-05-19 01:46:34 +01:00
parent 5affb35b93
commit 6f840d291b
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

View file

@ -10,13 +10,12 @@ BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1
# Flags
LDFLAGS = $(shell pkg-config --libs )
CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 $(shell pkg-config --cflags )
CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
SRC = lcc.c
$(TARGET): $(SRC)
$(CC) $(SRC) -o $@ $(CFLAGS) $(LDFLAGS)
$(CC) $(SRC) -o $@ $(CFLAGS)
dist:
mkdir -p $(TARGET)-$(VERSION)