2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-03 10:04:41 +00:00
confluent/confluent_osdeploy/utils/Makefile
Jarrod Johnson a4fc64ea56 Move el9bin build out of spec
Since the rpm itself is built in an el7 container, build
binary before spec driven build to be compatible.
2021-10-07 09:18:24 -04:00

21 lines
399 B
Makefile

CC := gcc
CFLAGS := -Os
TARGETS := copernicus autocons start_root confluent_imginfo
all: $(TARGETS) clortho urlmount
urlmount: urlmount.c
$(CC) $(CFLAGS) -o $@ $^ -D_FILE_OFFSET_BITS=64 -lcurl -lm -lfuse -lpthread
strip -s $@
clortho: clortho.c
$(CC) $(CFLAGS) -o $@ $^ -lcrypt
strip -s $@
$(TARGETS): % : %.c
$(CC) $(CFLAGS) -o $@ $^
strip -s $@
clean:
rm $(TARGETS) clortho urlmount