Sindbad~EG File Manager
# Define the compiler
CC = cc
CFLAGS = -Wall -g
INCLUDES = -I../../uthash/src -I.
# Source files
# SRCS = $(wildcard ./*.c)
SRCS = ./PolygonServer.c ./svgPolygon.c
# Object files
OBJS = $(SRCS:.c=.o)
# Executable name
TARGET = PolygonServer
# Default rule
all: $(TARGET)
# Rule to build the executable
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) $(INCLUDES) -o $(TARGET) $(OBJS) -lm
# Rule to build object files from source files
%.o: %.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
# Clean rule
clean:
rm -f $(OBJS) $(TARGET)
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists