mirror of
https://github.com/eddyem/BTA_utils.git
synced 2026-03-20 08:41:01 +03:00
copy
This commit is contained in:
16
jsonbta/makefile_from_tb
Normal file
16
jsonbta/makefile_from_tb
Normal file
@@ -0,0 +1,16 @@
|
||||
LOADLIBES = -lm -lcrypt
|
||||
SRCS = bta_json.c bta_print.c ../daemon.c
|
||||
CC = gcc
|
||||
DEFINES =
|
||||
CXX = gcc
|
||||
CPPFLAGS = -Wall $(DEFINES) -I/Users/eddy/include
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
all : bta_json client_streaming
|
||||
$(OBJS): bta_json.h bta_shdata.h
|
||||
bta_json : $(OBJS)
|
||||
$(CC) $(CPPFLAGS) $(OBJS) $(LOADLIBES) -o bta_json
|
||||
client_streaming: client_streaming.o
|
||||
$(CC) $(CPPFLAGS) client_streaming.o /Users/eddy/lib/libjson.a -lm -o client_streaming
|
||||
clean:
|
||||
/bin/rm -f *.o *~
|
||||
|
||||
Reference in New Issue
Block a user