nc/Makefile

11 lines
383 B
Makefile
Raw Normal View History

2023-04-01 23:13:39 -04:00
include config.mk
2023-04-11 08:26:02 -04:00
all: src/main.c src/printevents.c src/mkevent.c
2023-04-11 08:34:11 -04:00
$(CC) $(CFLAGS) $(LDFLAGS) -c src/main.c -o src/main.o
$(CC) $(CFLAGS) $(LDFLAGS) -c src/printevents.c -o src/printevents.o
$(CC) $(CFLAGS) $(LDFLAGS) -c src/mkevent.c -o src/mkevent.o
2023-04-11 08:26:02 -04:00
$(CC) $(CFLAGS) $(LDFLAGS) -o src/nc src/main.o src/printevents.o src/mkevent.o
2023-04-01 23:13:39 -04:00
2023-04-11 08:26:02 -04:00
install: src/nc
install src/nc $(PREFIX)/bin