improve Makefile (CC, FLAGS)

This commit is contained in:
sup39 2022-07-01 12:12:31 +09:00
parent 8bb1545e24
commit 231e7f7fa4

View file

@ -1,7 +1,6 @@
VERSION = 0.1.0-beta.1 VERSION = 0.1.0-beta.1
CC = gcc CFLAGS = -Os $(and $(LUA_ROOT),-I$(LUA_ROOT)) $(MYCFLAGS)
CFLAGS = -O2 LDFLAGS = $(and $(LUA_ROOT),-L$(LUA_ROOT)) -llua -lm $(MYLDFLAGS)
LDFLAGS = -llua -lm
IFACE = eth0 IFACE = eth0
CONFILE = config.lua CONFILE = config.lua