2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00
confluent/confluent_osdeploy/utils/Makefile

21 lines
409 B
Makefile
Raw Normal View History

CC := gcc
CFLAGS := -Os
2021-07-15 18:42:26 +00:00
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 sha-256.c
$(CC) $(CFLAGS) -o $@ $^ -lcrypt
strip -s $@
$(TARGETS): % : %.c
$(CC) $(CFLAGS) -o $@ $^
strip -s $@
clean:
rm $(TARGETS) clortho urlmount