nc/Makefile
2023-04-11 08:26:02 -04:00

11 lines
331 B
Makefile

include config.mk
all: src/main.c src/printevents.c src/mkevent.c
$(CC) $(CFLAGS) $(LDFLAGS) -c src/main.c
$(CC) $(CFLAGS) $(LDFLAGS) -c src/printevents.c
$(CC) $(CFLAGS) $(LDFLAGS) -c src/mkevent.c
$(CC) $(CFLAGS) $(LDFLAGS) -o src/nc src/main.o src/printevents.o src/mkevent.o
install: src/nc
install src/nc $(PREFIX)/bin