Sindbad~EG File Manager

Current Path : /usr/home/beeson/public_html/WebMathXpert/Demos/PolygonDemo/
Upload File :
Current File : //usr/home/beeson/public_html/WebMathXpert/Demos/PolygonDemo/Makefile

# 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