################################################################################
#
# Build script for project
#
################################################################################
#
# Makefile
#
# Define macros for name of compiler
CC = cc
CFLAGS = -g
PRGS = lisys
SRCS = $(wildcard *.c) $(wildcard GS/*.c) $(wildcard formula/*.c) $(wildcard IS/*.cpp) \
$(wildcard CORE/*.c)
OBJS := $(SRCS:.c=.o)
OBJS := $(OBJS:.cpp=.o)
all: $(PRGS)
lisys: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) -lm -lstdc++ -lpthread
clean:
rm -f $(OBJS)
rm -f $(PRGS)
#
# Build script for project
#
################################################################################
#
# Makefile
#
# Define macros for name of compiler
CC = cc
CFLAGS = -g
PRGS = lisys
SRCS = $(wildcard *.c) $(wildcard GS/*.c) $(wildcard formula/*.c) $(wildcard IS/*.cpp) \
$(wildcard CORE/*.c)
OBJS := $(SRCS:.c=.o)
OBJS := $(OBJS:.cpp=.o)
all: $(PRGS)
lisys: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) -lm -lstdc++ -lpthread
clean:
rm -f $(OBJS)
rm -f $(PRGS)