Added makefile for clainsafecli
This commit is contained in:
parent
7f88127116
commit
3e27f25236
1 changed files with 18 additions and 0 deletions
18
clainsafecli/Makefile
Normal file
18
clainsafecli/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# clainsafecli makefile
|
||||
|
||||
TARGET = clainsafecli
|
||||
OBJS = clainsafecli.o
|
||||
CC = cc
|
||||
CFLAGS = -MD -Wall -Wextra -O2 -march=native -lcurl
|
||||
|
||||
$(TARGET): clainsafecli.o
|
||||
$(CC) $(CFLAGS) $(OBJS) -o $(TARGET)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
-include *.d
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f *.d *.o clainsafecli
|
Loading…
Add table
Reference in a new issue