2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Add makefile for compilation

The C utilities are easy enough to build
with a Makefile.
This commit is contained in:
Jarrod Johnson 2020-05-04 10:22:59 -04:00
parent cb1d5ebd13
commit f619b5933c

View 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 $@