fix makefile

This commit is contained in:
Liam Waldron 2023-04-11 08:34:11 -04:00
parent b2724c2637
commit c9a84395d7

View File

@ -1,9 +1,9 @@
include config.mk include config.mk
all: src/main.c src/printevents.c src/mkevent.c all: src/main.c src/printevents.c src/mkevent.c
$(CC) $(CFLAGS) $(LDFLAGS) -c src/main.c $(CC) $(CFLAGS) $(LDFLAGS) -c src/main.c -o src/main.o
$(CC) $(CFLAGS) $(LDFLAGS) -c src/printevents.c $(CC) $(CFLAGS) $(LDFLAGS) -c src/printevents.c -o src/printevents.o
$(CC) $(CFLAGS) $(LDFLAGS) -c src/mkevent.c $(CC) $(CFLAGS) $(LDFLAGS) -c src/mkevent.c -o src/mkevent.o
$(CC) $(CFLAGS) $(LDFLAGS) -o src/nc src/main.o src/printevents.o src/mkevent.o $(CC) $(CFLAGS) $(LDFLAGS) -o src/nc src/main.o src/printevents.o src/mkevent.o
install: src/nc install: src/nc