2020-05-04 14:22:59 +00:00
|
|
|
CC := gcc
|
|
|
|
CFLAGS := -Os
|
2021-07-15 18:42:26 +00:00
|
|
|
TARGETS := copernicus autocons start_root confluent_imginfo
|
2020-05-04 14:22:59 +00:00
|
|
|
|
2022-03-09 18:36:47 +00:00
|
|
|
all: $(TARGETS) clortho urlmount
|
2021-06-03 21:17:42 +00:00
|
|
|
|
|
|
|
urlmount: urlmount.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -D_FILE_OFFSET_BITS=64 -lcurl -lm -lfuse -lpthread
|
|
|
|
strip -s $@
|
2020-05-04 14:22:59 +00:00
|
|
|
|
2022-03-08 19:46:33 +00:00
|
|
|
clortho: clortho.c sha-256.c
|
2020-05-04 14:22:59 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lcrypt
|
|
|
|
strip -s $@
|
|
|
|
|
|
|
|
$(TARGETS): % : %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
strip -s $@
|
2020-05-04 14:39:07 +00:00
|
|
|
|
|
|
|
clean:
|
2021-10-07 13:18:24 +00:00
|
|
|
rm $(TARGETS) clortho urlmount
|