mirror of
https://github.com/eddyem/BTA_utils.git
synced 2026-03-22 01:31:15 +03:00
add 64-bit bta_control_net
This commit is contained in:
14
bta_control_net-x86_64/bta_print/Makefile
Normal file
14
bta_control_net-x86_64/bta_print/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
# run `make DEF=...` to add extra defines
|
||||
PROGRAM := bta_print
|
||||
LDFLAGS := -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--discard-all -lcrypt -lm
|
||||
SRCS := bta_print.c bta_shdata.c
|
||||
DEFINES := $(DEF) -D_GNU_SOURCE -D_XOPEN_SOURCE=1111
|
||||
CFLAGS += -O2 -Wall -Werror -Wextra -Wno-trampolines -std=gnu99
|
||||
CC = gcc
|
||||
#CXX = g++
|
||||
|
||||
all : $(PROGRAM)
|
||||
|
||||
$(PROGRAM) : $(SRCS)
|
||||
$(CC) $(DEFINES) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROGRAM)
|
||||
|
||||
Reference in New Issue
Block a user