2024-02-26 01:27:22 -05:00
|
|
|
CC=gcc
|
|
|
|
CFLAGS=-lcurl -lcjson
|
2024-02-26 01:39:53 -05:00
|
|
|
SRCDIR=src
|
|
|
|
OBJDIR=bin
|
|
|
|
|
|
|
|
# Use variables for source and object files
|
|
|
|
ip-lookup: $(SRCDIR)/main.c
|
|
|
|
$(CC) -o $(OBJDIR)/ip-lookup $(SRCDIR)/main.c $(CFLAGS)
|
2024-02-26 01:27:22 -05:00
|
|
|
|