ldraw/lsynth/makefile
Laurens Valk 2306a417c8
lsynth: Move makefile one level up.
Seperate it from source.
2020-09-20 20:44:53 +02:00

18 lines
383 B
Makefile

CC=gcc
CFLAGS=-ggdb
AR = ar
RANLIB = ranlib
## This is lame. I don't know how to do both .c and .cpp for the OBJS line
## so I pretend L3*.cpp is L3*.c and make rules for them later.
#
SRCS = src/lsynthcp.c src/band.c src/hose.c src/curve.c src/mathlib.c
OBJS = $(SRCS:.c=.o)
all : lsynthcp
lsynthcp: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) $(OBJS) -lm -o lsynthcp