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
|
|
|
|
2021-06-03 21:17:42 +00:00
|
|
|
all: $(TARGETS) clortho urlmount
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
clortho: clortho.c
|
|
|
|
$(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
|