Commit 59510118 authored by Canvas123's avatar Canvas123
Browse files

Makefile changed for tests purposes

parent 74823f0e
CC = g++
OPTIONS = -shared -O3 -fPIC
OUT = sharedLib.o
OUTFOLDER = ./out/
SRCS := $(wildcard *.cpp)
all: main.cpp
all: ${SRCS}
@echo "Building..."
${CC} ${OPTIONS} main.cpp -o ${OUT}
for i in $^; do \
${CC} ${OPTIONS} $$i -o ${OUTFOLDER}$${i%.*}.o ; \
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment