You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
390 B

include config.mk
SRC = keympp.c
OBJ = ${SRC:.c=.o}
all: options keympp
options:
@echo keym build options:
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
@echo "LD = ${LD}"
.c.o:
@${CC} -c ${CFLAGS} $<
${OBJ}: config.mk
keympp: ${OBJ}
@${LD} -o $@ ${OBJ} ${LDFLAGS}
@strip $@
clean:
@rm -f keympp ${OBJ}
.PHONY: all options clean