byedpi/Makefile
2024-04-23 08:47:27 +03:00

13 lines
299 B
Makefile

TARGET = ciadpi
CC ?= gcc
CFLAGS += -std=c99 -O2 -D_XOPEN_SOURCE=500
SOURCES = packets.c main.c conev.c proxy.c desync.c mpool.c extend.c
all:
$(CC) $(CFLAGS) $(SOURCES) -I . -o $(TARGET)
windows:
$(CC) $(CFLAGS) $(SOURCES) -I . -lws2_32 -lmswsock -o $(TARGET).exe
clean:
rm -f $(TARGET) *.o