Change makefile for new folders

This commit is contained in:
Night Kaly 2024-09-24 13:54:28 +01:00
parent f998960f1c
commit e4856689e9
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

View file

@ -16,9 +16,9 @@ username ?= default
LDFLAGS = $(shell pkg-config --libs libsodium libnotify ncurses sqlite3) LDFLAGS = $(shell pkg-config --libs libsodium libnotify ncurses sqlite3)
CFLAGS = -O3 -mtune=native -march=native -pipe -g -std=c99 -Wno-pointer-sign -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 $(shell pkg-config --cflags libsodium libnotify ncurses sqlite3) -lpthread CFLAGS = -O3 -mtune=native -march=native -pipe -g -std=c99 -Wno-pointer-sign -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 $(shell pkg-config --cflags libsodium libnotify ncurses sqlite3) -lpthread
SERVERSRC = src/server/*.c SERVERSRC = src/zmr/*.c
CLIENTSRC = src/client/*.c CLIENTSRC = src/zen/*.c
LIBSRC = lib/*.c LIBSRC = src/lib/*.c
INCLUDE = -Iinclude/ INCLUDE = -Iinclude/
all: $(SERVER) $(CLIENT) all: $(SERVER) $(CLIENT)