1
0
mirror of https://git.lain.church/emil/libhl.git synced 2025-04-21 15:39:40 +00:00
libhl/config.mk
2023-08-24 04:45:07 +02:00

20 lines
373 B
Makefile

# Make script for Chad projects
# This script depends on the following variables
# - TARGET : output program name
# - ARGS : default flags to fork ${OUT} with
PREFIX:=/usr/bin
CFLAGS:=-std=c99
CPPFLAGS:=-Isyntax/ -D_GNU_SOURCE -D_FORTIFY_SOURCE=2
DEBUG=1
ifeq (${DEBUG},1)
CFLAGS += -Og -ggdb -pg -fno-inline
else
CFLAGS += -O2 -flto=auto
endif
TARGET:=hl