mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 21:09:32 +00:00
Add makefile for compilation
The C utilities are easy enough to build with a Makefile.
This commit is contained in:
parent
cb1d5ebd13
commit
f619b5933c
13
confluent_deploy/utils/Makefile
Normal file
13
confluent_deploy/utils/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
CC := gcc
|
||||
CFLAGS := -Os
|
||||
TARGETS := copernicus autocons
|
||||
|
||||
all: $(TARGETS) clortho
|
||||
|
||||
clortho: clortho.c
|
||||
$(CC) $(CFLAGS) -o $@ $^ -lcrypt
|
||||
strip -s $@
|
||||
|
||||
$(TARGETS): % : %.c
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
strip -s $@
|
Loading…
Reference in New Issue
Block a user