byedpi/Makefile

14 lines
280 B
Makefile
Raw Normal View History

2023-06-03 19:52:10 +00:00
TARGET = ciadpi
CC ?= gcc
2023-06-12 08:01:40 +00:00
CFLAGS += -std=c99 -O2 -D_XOPEN_SOURCE=500
2024-02-18 20:20:52 +00:00
SOURCES = packets.c main.c conev.c proxy.c desync.c error.c
2023-06-03 19:52:10 +00:00
all:
$(CC) $(CFLAGS) $(SOURCES) -I . -o $(TARGET)
2024-02-18 20:20:52 +00:00
windows:
$(CC) $(CFLAGS) $(SOURCES) -I . -lws2_32 -o $(TARGET).exe
2023-06-03 19:52:10 +00:00
clean:
rm -f $(TARGET) *.o