all repos — min @ 854dc391e4724d549431001635e1523d8e42a672

A small but practical concatenative programming language.

vendor/linenoise/Makefile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
STD=
WARN= -Wall -Wno-comment
OPT= -Os

CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
LDFLAGS= $(LDFLAGS)
DEBUG= -g

CC := $(CC) $(R_CFLAGS)
LD := $(CC) $(R_LDFLAGS)


linenoise.o: linenoise.h linenoise.c

linenoise_example: linenoise.o example.o
	$(LD) -o $@ $^

.c.o:
	$(CC) -c $<

clean:
	rm -f linenoise_example *.o